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