summaryrefslogtreecommitdiffstats
path: root/sys/modules/en/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/en/Makefile')
-rw-r--r--sys/modules/en/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/modules/en/Makefile b/sys/modules/en/Makefile
new file mode 100644
index 0000000..dfd1956
--- /dev/null
+++ b/sys/modules/en/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../pci ${.CURDIR}/../../dev/en
+
+KMOD= if_en
+SRCS= if_en_pci.c midway.c device_if.h bus_if.h pci_if.h
+SRCS+= opt_inet.h opt_natm.h opt_ddb.h
+CFLAGS+= -DENABLE_BPF
+# CFLAGS+= -DINVARIANTS -DEN_DEBUG=0
+
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+
+opt_natm.h:
+ echo "#define NATM 1" > ${.TARGET}
+
+# opt_ddb.h:
+# echo "#define DDB 1" > ${.TARGET}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud