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:
parent
fdb71eeeff
commit
7969539b67
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156578
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user