svn commit: r254114 - stable/9/sys/modules/ixgbe
Jack F Vogel
jfv at FreeBSD.org
Fri Aug 9 00:39:21 UTC 2013
Author: jfv
Date: Fri Aug 9 00:39:20 2013
New Revision: 254114
URL: http://svnweb.freebsd.org/changeset/base/254114
Log:
MFC 235964,236311,247505
Add the INET opt file creation, module name change, and include
making the Makefile match HEAD.
Modified:
stable/9/sys/modules/ixgbe/Makefile
Directory Properties:
stable/9/sys/modules/ixgbe/ (props changed)
Modified: stable/9/sys/modules/ixgbe/Makefile
==============================================================================
--- stable/9/sys/modules/ixgbe/Makefile Thu Aug 8 23:53:47 2013 (r254113)
+++ stable/9/sys/modules/ixgbe/Makefile Fri Aug 9 00:39:20 2013 (r254114)
@@ -1,7 +1,12 @@
#$FreeBSD$
+
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../dev/ixgbe
-KMOD = ixgbe
+
+KMOD = if_ixgbe
SRCS = device_if.h bus_if.h pci_if.h
+SRCS += opt_inet.h opt_inet6.h
SRCS += ixgbe.c ixv.c
# Shared source
SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
@@ -9,4 +14,16 @@ SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c
SRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR
+.if !defined(KERNBUILDDIR)
+.if ${MK_INET_SUPPORT} != "no"
+opt_inet.h:
+ @echo "#define INET 1" > ${.TARGET}
+.endif
+
+.if ${MK_INET6_SUPPORT} != "no"
+opt_inet6.h:
+ @echo "#define INET6 1" > ${.TARGET}
+.endif
+.endif
+
.include <bsd.kmod.mk>
More information about the svn-src-stable-9
mailing list