--- src/sys/dev/netif/nge/Makefile 2005/07/28 00:06:10 1.3 +++ src/sys/dev/netif/nge/Makefile 2005/10/24 08:06:15 1.4 @@ -2,7 +2,13 @@ # $DragonFly$ KMOD= if_nge -SRCS= if_nge.c miibus_if.h opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS= if_nge.c miibus_if.h device_if.h bus_if.h pci_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