c6e071ef3a
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...
19 lines
371 B
Makefile
19 lines
371 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/aac
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
SUBDIR= aac_linux
|
|
.endif
|
|
|
|
KMOD= aac
|
|
SRCS= aac.c aac_pci.c aac_disk.c aac_cam.c
|
|
SRCS+= opt_scsi.h opt_cam.h opt_aac.h
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
|
|
# To enable debug output from the driver, uncomment these two lines.
|
|
#CFLAGS+= -DAAC_DEBUG=2
|
|
#SRCS+= aac_debug.c
|
|
|
|
.include <bsd.kmod.mk>
|