From 7969539b6746b073d6e8c03087d7ca8e7c118a77 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sat, 11 Mar 2006 19:00:05 +0000 Subject: [PATCH] use the same test as release/Makefile to select WITH_SMP Reviewed by: ru --- usr.sbin/sade/Makefile | 5 +++-- 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 4c760a2569d3..d9aeb5cb4e88 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 4c760a2569d3..d9aeb5cb4e88 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