[Midnightbsd-cvs] src [6552] trunk/sys/modules/em/Makefile: inet/inet6
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Dec 27 22:35:56 EST 2013
Revision: 6552
http://svnweb.midnightbsd.org/src/?rev=6552
Author: laffer1
Date: 2013-12-27 22:35:56 -0500 (Fri, 27 Dec 2013)
Log Message:
-----------
inet/inet6
Modified Paths:
--------------
trunk/sys/modules/em/Makefile
Property Changed:
----------------
trunk/sys/modules/em/Makefile
Modified: trunk/sys/modules/em/Makefile
===================================================================
--- trunk/sys/modules/em/Makefile 2013-12-28 03:35:44 UTC (rev 6551)
+++ trunk/sys/modules/em/Makefile 2013-12-28 03:35:56 UTC (rev 6552)
@@ -1,9 +1,11 @@
-# $MidnightBSD: src/sys/modules/em/Makefile,v 1.4 2012/06/30 03:04:27 laffer1 Exp $
+# $MidnightBSD$
# $FreeBSD: src/sys/modules/em/Makefile,v 1.9.2.2.6.1 2010/02/10 00:26:20 kensmith Exp $
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../dev/e1000
KMOD = if_em
-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 += $(CORE_SRC) $(LEGACY_SRC)
SRCS += $(COMMON_SHARED) $(LEGACY_SHARED) $(PCIE_SHARED)
CORE_SRC = if_em.c e1000_osdep.c
@@ -20,4 +22,16 @@
# DEVICE_POLLING for a non-interrupt-driven method
#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/em/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list