diff options
author | sam <sam@FreeBSD.org> | 2006-03-11 19:00:05 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-03-11 19:00:05 +0000 |
commit | d24cd1f06e7332a37901cd9c78c2f68998309aed (patch) | |
tree | 9db5abc495b62b5fba2d1f871b8c44bfe598b70e /usr.sbin | |
parent | 2184e17621af737da392580a74af698687721101 (diff) | |
download | FreeBSD-src-d24cd1f06e7332a37901cd9c78c2f68998309aed.zip FreeBSD-src-d24cd1f06e7332a37901cd9c78c2f68998309aed.tar.gz |
use the same test as release/Makefile to select WITH_SMP
Reviewed by: ru
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/Makefile | 5 | ||||
-rw-r--r-- | usr.sbin/sysinstall/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index 4c760a2..d9aeb5c 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/Makefile @@ -47,8 +47,9 @@ LDADD= -ldialog -lncurses -lutil -ldisk -lftpio # .if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "amd64" SRCS+= acpi.c biosmptable.c -# NB: HEAD has SMP in GENERIC so only one kernel -#CFLAGS+=-DWITH_SMP +.if exists(${.CURDIR}/../../sys/${MACHINE}/conf/SMP) +CFLAGS+=-DWITH_SMP +.endif DPADD+= ${LIBDEVINFO} LDADD+= -ldevinfo .endif diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile index 4c760a2..d9aeb5c 100644 --- a/usr.sbin/sysinstall/Makefile +++ b/usr.sbin/sysinstall/Makefile @@ -47,8 +47,9 @@ LDADD= -ldialog -lncurses -lutil -ldisk -lftpio # .if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "amd64" SRCS+= acpi.c biosmptable.c -# NB: HEAD has SMP in GENERIC so only one kernel -#CFLAGS+=-DWITH_SMP +.if exists(${.CURDIR}/../../sys/${MACHINE}/conf/SMP) +CFLAGS+=-DWITH_SMP +.endif DPADD+= ${LIBDEVINFO} LDADD+= -ldevinfo .endif |