freebsd-nq/sys/modules/ppc/Makefile
Warner Losh c09808d0d6 MFtbemd:
Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
2010-08-23 06:13:29 +00:00

25 lines
436 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/ppc
KMOD= ppc
SRCS= bus_if.h device_if.h ppbus_if.h isa_if.h pci_if.h serdev_if.h \
opt_ppc.h opt_isa.h \
ppc.c ppc_pci.c ppc_puc.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+= ppc_acpi.c ppc_isa.c
.endif
.if ${MACHINE_CPUARCH} == "i386"
.if ${MACHINE} != "pc98"
SRCS+= ppc_acpi.c
.endif
SRCS+= ppc_isa.c
.endif
.if ${MACHINE_CPUARCH} == "ia64"
SRCS+= ppc_acpi.c
.endif
.include <bsd.kmod.mk>