This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
14 lines
285 B
Makefile
14 lines
285 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/cardbus
|
|
|
|
KMOD= cardbus
|
|
SRCS= cardbus.c cardbus_cis.c cardbus_device.c \
|
|
device_if.h bus_if.h card_if.h power_if.h pci_if.h pcib_if.h
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
|
CFLAGS += -DNEW_PCIB
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|