aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-02 18:17:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-02 18:17:48 +0000
commit2b7a36380b6066096b04967695a7a944450b657e (patch)
tree9f8581486233c17067488db67be4c5fb94e8e0dd /package/kernel/mac80211/Makefile
parentaa6eaba62356b2d4fe46400d326d68f05f205c4b (diff)
downloadupstream-2b7a36380b6066096b04967695a7a944450b657e.tar.gz
upstream-2b7a36380b6066096b04967695a7a944450b657e.tar.bz2
upstream-2b7a36380b6066096b04967695a7a944450b657e.zip
mac80211: b43: make support for BCMA optional
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40985 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/Makefile')
-rw-r--r--package/kernel/mac80211/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index a328d61cef..fb11f2cafb 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -1070,7 +1070,7 @@ define KernelPackage/b43
URL:=http://linuxwireless.org/en/users/Drivers/b43
KCONFIG:= \
CONFIG_HW_RANDOM=y
- DEPENDS+= +kmod-mac80211 +!TARGET_brcm47xx:kmod-bcma +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
+ DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43/b43.ko
AUTOLOAD:=$(call AutoProbe,b43)
MENU:=1
@@ -1178,6 +1178,11 @@ define KernelPackage/b43/config
Example (keep files for G-PHY and N-PHY):
G,N
+ config PACKAGE_B43_BUSES_BCMA
+ bool "Support for BCMA bus"
+ select PACKAGE_kmod-bcma if !TARGET_brcm47xx
+ default y
+
config PACKAGE_B43_DEBUG
bool "Enable debug output and debugfs for b43"
default n
@@ -1428,7 +1433,11 @@ endif
config-$(call config_package,carl9170) += CARL9170
config-$(call config_package,b43) += B43
-config-y += B43_SSB B43_BCMA
+ifeq ($(CONFIG_PACKAGE_B43_BUSES_BCMA),y)
+config-y += B43_BUSES_BCMA_AND_SSB
+else
+config-y += B43_BUSES_SSB
+endif
config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT