[Midnightbsd-cvs] src [6551] trunk/sys/modules/igb/Makefile: inet/inet6

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Dec 27 22:35:45 EST 2013


Revision: 6551
          http://svnweb.midnightbsd.org/src/?rev=6551
Author:   laffer1
Date:     2013-12-27 22:35:44 -0500 (Fri, 27 Dec 2013)
Log Message:
-----------
inet/inet6

Modified Paths:
--------------
    trunk/sys/modules/igb/Makefile

Property Changed:
----------------
    trunk/sys/modules/igb/Makefile

Modified: trunk/sys/modules/igb/Makefile
===================================================================
--- trunk/sys/modules/igb/Makefile	2013-12-23 13:44:58 UTC (rev 6550)
+++ trunk/sys/modules/igb/Makefile	2013-12-28 03:35:44 UTC (rev 6551)
@@ -1,9 +1,11 @@
-# $MidnightBSD: src/sys/modules/igb/Makefile,v 1.2 2012/06/30 03:05:28 laffer1 Exp $
+# $MidnightBSD$
 # $FreeBSD: src/sys/modules/igb/Makefile,v 1.3.2.2.6.1 2010/02/10 00:26:20 kensmith Exp $
 
+.include <bsd.own.mk>
+
 .PATH:  ${.CURDIR}/../../dev/e1000
 KMOD    = if_igb
-SRCS    = device_if.h bus_if.h pci_if.h opt_inet.h
+SRCS    = device_if.h bus_if.h pci_if.h opt_inet.h opt_inet6.h
 SRCS    += if_igb.c $(SHARED_SRCS)
 SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
 SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c
@@ -16,4 +18,16 @@
 # not advisable since MSIX gives better results
 #CFLAGS  += -DDEVICE_POLLING
 
+.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>


Property changes on: trunk/sys/modules/igb/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list