summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-03-11 19:00:05 +0000
committersam <sam@FreeBSD.org>2006-03-11 19:00:05 +0000
commitd24cd1f06e7332a37901cd9c78c2f68998309aed (patch)
tree9db5abc495b62b5fba2d1f871b8c44bfe598b70e /usr.sbin
parent2184e17621af737da392580a74af698687721101 (diff)
downloadFreeBSD-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/Makefile5
-rw-r--r--usr.sbin/sysinstall/Makefile5
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
OpenPOWER on IntegriCloud