summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-25 22:39:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-25 22:39:58 +0000
commit48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51 (patch)
tree103d73b86e1ad8300289310048ff1963809f7d6d /package/kernel/mac80211/Makefile
parent56702140b6ab8af28487f7b55dae611a8e15dcb1 (diff)
downloadmtk-20170518-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.zip
mtk-20170518-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.tar.gz
mtk-20170518-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.tar.bz2
ath9k: make support for PC-OEM cards optional, reduces module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40859
Diffstat (limited to 'package/kernel/mac80211/Makefile')
-rw-r--r--package/kernel/mac80211/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 60a1220..8edf0d2 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -572,6 +572,14 @@ This module adds support for wireless adapters based on
Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
endef
+define KernelPackage/ath9k/config
+
+ config ATH9K_SUPPORT_PCOEM
+ bool "Support chips used in PC OEM cards"
+ depends PACKAGE_kmod-ath9k
+
+endef
+
define KernelPackage/ath9k-htc
$(call KernelPackage/mac80211/Default)
TITLE:=Atheros 802.11n USB device support
@@ -1395,6 +1403,7 @@ config-$(call config_package,ath9k-common) += ATH9K_COMMON
config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
config-$(CONFIG_PCI) += ATH9K_PCI
config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
+config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
config-$(call config_package,ath9k-htc) += ATH9K_HTC
config-$(call config_package,ath10k) += ATH10K ATH10K_PCI