netif: Enable ifpoll in module building
[dragonfly.git] / sys / dev / netif / bnx / Makefile
... / ...
CommitLineData
1KMOD= if_bnx
2SRCS= if_bnx.c
3SRCS+= miibus_if.h device_if.h bus_if.h pci_if.h
4SRCS+= opt_ifpoll.h opt_bnx.h
5
6.ifndef BUILDING_WITH_KERNEL
7
8opt_ifpoll.h:
9 echo '#define IFPOLL_ENABLE 1' > ${.OBJDIR}/${.TARGET}
10
11opt_bnx.h:
12 touch ${.OBJDIR}/${.TARGET}
13
14.endif
15
16.include <bsd.kmod.mk>