--- src/sys/dev/netif/rl/Makefile 2005/07/28 00:06:10 1.3 +++ src/sys/dev/netif/rl/Makefile 2005/10/24 08:06:15 1.4 @@ -2,8 +2,14 @@ # $DragonFly$ KMOD = if_rl -SRCS = if_rl.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS = if_rl.c device_if.h bus_if.h pci_if.h +SRCS += opt_bdg.h opt_polling.h SRCS += miibus_if.h KMODDEPS = miibus +.ifndef BUILDING_WITH_KERNEL +opt_polling.h: + echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET} +.endif + .include