summaryrefslogtreecommitdiff
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-23 22:01:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-23 22:01:45 +0000
commit9fce92753fbaf50f800e991a20f697566374f7e8 (patch)
tree8ab5d0659a08293c83cb025306b79e175f50565f /package/mac80211/Makefile
parentd6cb0680980c2224093082bc3640c4799366b6a0 (diff)
downloadmtk-20170518-9fce92753fbaf50f800e991a20f697566374f7e8.zip
mtk-20170518-9fce92753fbaf50f800e991a20f697566374f7e8.tar.gz
mtk-20170518-9fce92753fbaf50f800e991a20f697566374f7e8.tar.bz2
separate ath9k debugfs support from ath9k debugging, use the mac80211 debugfs config option to enable it
SVN-Revision: 18505
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index aef7937..2da34ba 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -22,6 +22,9 @@ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_kmod-mac80211 \
+ CONFIG_PACKAGE_MAC80211_DEBUGFS \
+ CONFIG_PACKAGE_ATH_DEBUG \
+ CONFIG_ATH_USER_REGD \
include $(INCLUDE_DIR)/package.mk
@@ -498,8 +501,7 @@ BUILDFLAGS:= \
$(if $(CONFIG_PCI),-DCONFIG_SSB_SPROM) \
$(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS -DCONFIG_AR9170_LEDS) \
-DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG \
- $(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),-DCONFIG_MAC80211_DEBUGFS) \
- $(if $(CONFIG_PACKAGE_ATH9K_DEBUG),-DCONFIG_ATH9K_DEBUG) \
+ $(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),-DCONFIG_MAC80211_DEBUGFS -DCONFIG_ATH9K_DEBUGFS) \
$(if $(CONFIG_PACKAGE_ATH_DEBUG),-DCONFIG_ATH_DEBUG) \
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1)
@@ -530,7 +532,7 @@ MAKE_OPTS:= \
CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
CONFIG_ATH5K=$(if $(CONFIG_PACKAGE_kmod-ath5k),m) \
CONFIG_ATH9K=$(if $(CONFIG_PACKAGE_kmod-ath9k),m) \
- CONFIG_ATH9K_DEBUG=$(if $(CONFIG_PACKAGE_ATH9K_DEBUG),y) \
+ CONFIG_ATH9K_DEBUGFS=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \
CONFIG_ZD1211RW=$(if $(CONFIG_PACKAGE_kmod-zd1211rw),m) \
CONFIG_P54_COMMON=$(if $(CONFIG_PACKAGE_kmod-p54-common),m) \
CONFIG_P54_PCI=$(if $(CONFIG_PACKAGE_kmod-p54-pci),m) \