Make the ixgbe(4) module buildable outside of the tree.

It defaults to RSS not being enabled.
This commit is contained in:
Adrian Chadd 2014-08-04 04:21:32 +00:00
parent 25eee848cd
commit 34612b5117

View File

@ -6,7 +6,7 @@
KMOD = if_ixgbe
SRCS = device_if.h bus_if.h pci_if.h
SRCS += opt_inet.h opt_inet6.h
SRCS += opt_inet.h opt_inet6.h opt_rss.h
SRCS += ixgbe.c ixv.c
# Shared source
SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
@ -24,6 +24,10 @@ opt_inet.h:
opt_inet6.h:
@echo "#define INET6 1" > ${.TARGET}
.endif
opt_rss.h:
@echo "" > ${.TARGET}
.endif
.include <bsd.kmod.mk>