summaryrefslogtreecommitdiffstats
path: root/sys/modules/wlan_wep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/wlan_wep/Makefile')
-rw-r--r--sys/modules/wlan_wep/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/modules/wlan_wep/Makefile b/sys/modules/wlan_wep/Makefile
index 88ad322..3a5c6dc 100644
--- a/sys/modules/wlan_wep/Makefile
+++ b/sys/modules/wlan_wep/Makefile
@@ -4,5 +4,11 @@
KMOD= wlan_wep
SRCS= ieee80211_crypto_wep.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