--- src/sys/dev/netif/fxp/Makefile 2005/05/31 08:19:04 1.3 +++ src/sys/dev/netif/fxp/Makefile 2005/10/24 08:06:15 1.4 @@ -2,7 +2,13 @@ # $DragonFly$ KMOD = if_fxp -SRCS = if_fxp.c opt_bdg.h device_if.h bus_if.h pci_if.h miibus_if.h +SRCS = if_fxp.c device_if.h bus_if.h pci_if.h miibus_if.h +SRCS += opt_bdg.h opt_polling.h KMODDEPS = miibus +.ifndef BUILDING_WITH_KERNEL +opt_polling.h: + echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET} +.endif + .include