mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 00:34:33 -05:00
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$
|
|
|
|
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>
|