mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
193d9e768b
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
20 lines
375 B
Makefile
20 lines
375 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/amr
|
|
|
|
SUBDIR= amr_cam
|
|
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
|
SUBDIR+= amr_linux
|
|
.endif
|
|
|
|
KMOD= amr
|
|
SRCS= amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
|
|
|
|
# Enable a questionable optimisation for newer adapters
|
|
#CFLAGS+= -DAMR_QUARTZ_GOFASTER
|
|
|
|
# Debugging
|
|
#CFLAGS+= -DAMR_DEBUG=3
|
|
|
|
.include <bsd.kmod.mk>
|