mirror of
https://github.com/opnsense/src.git
synced 2026-03-24 19:53:08 -04:00
step in making this driver more attachment neutral. Others plan on adding acpi front ends. Still need to cleanup the MI part of the driver because it isn't as bus independent as it could be.
24 lines
428 B
Makefile
24 lines
428 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE} == "pc98"
|
|
.PATH: ${.CURDIR}/../../pc98/pc98
|
|
.else
|
|
.PATH: ${.CURDIR}/../../dev/fdc
|
|
.endif
|
|
KMOD= fdc
|
|
.if ${MACHINE} == "pc98"
|
|
SRCS= fd.c
|
|
.else
|
|
SRCS= fdc.c fdc_isa.c fdc_pccard.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
|
|
|
|
opt_fdc.h:
|
|
touch ${.TARGET}
|
|
.if ${FDC_DEBUG} > 0
|
|
echo "#define FDC_DEBUG 1" >> ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|