summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-09-15 22:46:12 +0000
committersam <sam@FreeBSD.org>2008-09-15 22:46:12 +0000
commitea5db6cc0410b106d5f72ba590a3fe5c0bd7db9b (patch)
tree387c6342c0bd9533a725acfb1238a3cfa866b14f /sys/modules
parent05a7094fc1d2a54b7d63fa43d1371840293d2e39 (diff)
downloadFreeBSD-src-ea5db6cc0410b106d5f72ba590a3fe5c0bd7db9b.zip
FreeBSD-src-ea5db6cc0410b106d5f72ba590a3fe5c0bd7db9b.tar.gz
add ddb support (default to off unless built with the kernel)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/wlan/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile
index 02bfefb..70533ba 100644
--- a/sys/modules/wlan/Makefile
+++ b/sys/modules/wlan/Makefile
@@ -9,19 +9,20 @@ SRCS= ieee80211.c ieee80211_crypto.c ieee80211_crypto_none.c ieee80211_dfs.c \
ieee80211_proto.c ieee80211_scan.c ieee80211_scan_sta.c \
ieee80211_regdomain.c ieee80211_ht.c \
ieee80211_adhoc.c ieee80211_hostap.c ieee80211_monitor.c \
- ieee80211_sta.c ieee80211_wds.c
-SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h
+ ieee80211_sta.c ieee80211_wds.c ieee80211_ddb.c
+SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h opt_ddb.h
.if !defined(KERNBUILDDIR)
opt_wlan.h:
echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
echo "#define IEEE80211_AMDPU_AGE 1" >> ${.TARGET}
-
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
-
opt_ipx.h:
echo "#define IPX 1" > ${.TARGET}
+# override to get ddb support?
+opt_ddb.h:
+ echo "#define DDB 0" > ${.TARGET}
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud