summaryrefslogtreecommitdiffstats
path: root/sys/modules/ubsec
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/ubsec')
-rw-r--r--sys/modules/ubsec/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/ubsec/Makefile b/sys/modules/ubsec/Makefile
index 8b6799af..661d33e 100644
--- a/sys/modules/ubsec/Makefile
+++ b/sys/modules/ubsec/Makefile
@@ -6,7 +6,9 @@ SRCS = ubsec.c opt_ubsec.h
SRCS += device_if.h bus_if.h pci_if.h
SRCS += opt_bus.h crypto_if.h
+.if !defined(KERNBUILDDIR)
opt_ubsec.h:
echo "#define UBSEC_DEBUG 1" > opt_ubsec.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud