summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-03-11 23:20:43 +0000
committersam <sam@FreeBSD.org>2003-03-11 23:20:43 +0000
commit30d71a3448e60008e0c72602d5b27b33621e3e45 (patch)
tree0175887b1f847e9cb98363f7d1ab80ec4493c0fd /sys/modules
parent28657500843c45439ccb37c8a82322a00ce47fff (diff)
downloadFreeBSD-src-30d71a3448e60008e0c72602d5b27b33621e3e45.zip
FreeBSD-src-30d71a3448e60008e0c72602d5b27b33621e3e45.tar.gz
fix module building; drivers now require opt_{ubsec,hifn}.h
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/hifn/Makefile5
-rw-r--r--sys/modules/ubsec/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/modules/hifn/Makefile b/sys/modules/hifn/Makefile
index bb0bcf2..33e6a77 100644
--- a/sys/modules/hifn/Makefile
+++ b/sys/modules/hifn/Makefile
@@ -2,8 +2,11 @@
.PATH: ${.CURDIR}/../../dev/hifn
KMOD = hifn
-SRCS = hifn7751.c
+SRCS = hifn7751.c opt_hifn.h
SRCS += device_if.h bus_if.h pci_if.h
SRCS += opt_bdg.h opt_bus.h crypto_if.h
+opt_hifn.h:
+ echo "#define HIFN_DEBUG 1" > opt_hifn.h
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/ubsec/Makefile b/sys/modules/ubsec/Makefile
index 4b9f411..4c9f58c 100644
--- a/sys/modules/ubsec/Makefile
+++ b/sys/modules/ubsec/Makefile
@@ -2,8 +2,11 @@
.PATH: ${.CURDIR}/../../dev/ubsec
KMOD = ubsec
-SRCS = ubsec.c
+SRCS = ubsec.c opt_ubsec.h
SRCS += device_if.h bus_if.h pci_if.h
SRCS += opt_bdg.h opt_bus.h crypto_if.h
+opt_ubsec.h:
+ echo "#define UBSEC_DEBUG 1" > opt_ubsec.h
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud