Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2013 00:39:20 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r254114 - stable/9/sys/modules/ixgbe
Message-ID:  <201308090039.r790dKFg035494@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308090039.r790dKFg035494>