aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/em
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/em')
-rw-r--r--sys/modules/em/Makefile14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile
index 5e71f2f00eaf..3112d010a372 100644
--- a/sys/modules/em/Makefile
+++ b/sys/modules/em/Makefile
@@ -1,7 +1,5 @@
# $FreeBSD$
-.include <src.opts.mk>
-
.PATH: ${.CURDIR}/../../dev/e1000
KMOD = if_em
SRCS = device_if.h bus_if.h pci_if.h opt_inet.h opt_inet6.h
@@ -21,16 +19,4 @@ CFLAGS += -I${.CURDIR}/../../dev/e1000
# 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>