Define SMP unconditionally for amd64 and remove opt_global.h from SRCS.

Note it is done just for correctness sake because we do not build, ship, or
support acpi.ko on amd64.

Prodded by:	bde
This commit is contained in:
jkim 2010-07-13 16:57:52 +00:00
parent 9ff3dce80a
commit 1abcd7b695

View File

@ -99,7 +99,10 @@ SRCS+= assym.s madt.c
CLEANFILES+= acpi_wakecode.bin acpi_wakecode.h acpi_wakecode.o
.if ${MACHINE_ARCH} == "amd64"
SRCS+= acpi_switch.S acpi_wakedata.h opt_global.h
.if !defined(KERNBUILDDIR)
CFLAGS+=-DSMP
.endif
SRCS+= acpi_switch.S acpi_wakedata.h
CLEANFILES+= acpi_wakedata.h
ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
acpi_switch.o: acpi_switch.S