summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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