summaryrefslogtreecommitdiffstats
path: root/sys/modules/wlan_acl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/wlan_acl/Makefile')
-rw-r--r--sys/modules/wlan_acl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/modules/wlan_acl/Makefile b/sys/modules/wlan_acl/Makefile
index aa71de2..5922859 100644
--- a/sys/modules/wlan_acl/Makefile
+++ b/sys/modules/wlan_acl/Makefile
@@ -4,5 +4,11 @@
KMOD= wlan_acl
SRCS= ieee80211_acl.c
+SRCS+= opt_wlan.h
+
+.if !defined(KERNBUILDDIR)
+opt_wlan.h:
+ echo "#define IEEE80211_DEBUG 1" > opt_wlan.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud