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
21 lines
375 B
Makefile
21 lines
375 B
Makefile
# $FreeBSD$
|
|
|
|
KMOD= fdc
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/fdc
|
|
SRCS= fdc.c fdc_isa.c fdc_pccard.c
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
SRCS+= opt_acpi.h acpi_if.h fdc_acpi.c
|
|
.endif
|
|
|
|
SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \
|
|
isa_if.h pccarddevs.h
|
|
|
|
FDC_DEBUG?= 0 # 0/1
|
|
|
|
.if ${FDC_DEBUG} > 0
|
|
echo "#define FDC_DEBUG 1" >> ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|