1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

use the same test as release/Makefile to select WITH_SMP

Reviewed by:	ru
This commit is contained in:
Sam Leffler 2006-03-11 19:00:05 +00:00
parent fdb71eeeff
commit 7969539b67
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156578
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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