Add fdc_acpi to module build, bump WARNS to 2.

This commit is contained in:
Nate Lawson 2004-07-15 16:44:14 +00:00
parent 32cfa66575
commit aa21251d11

View File

@ -6,12 +6,15 @@
.PATH: ${.CURDIR}/../../dev/fdc
.endif
KMOD= fdc
WARNS?= 2
.if ${MACHINE} == "pc98"
SRCS= fd.c fdc_cbus.c
.else
SRCS= fdc.c fdc_isa.c fdc_pccard.c
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
SRCS= fdc.c fdc_acpi.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
SRCS+= opt_acpi.h opt_fdc.h acpi_if.h bus_if.h card_if.h device_if.h \
isa_if.h pccarddevs.h
FDC_DEBUG?= 0 # 0/1