diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-25 22:39:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-25 22:39:58 +0000 |
commit | 48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51 (patch) | |
tree | 103d73b86e1ad8300289310048ff1963809f7d6d /package/kernel/mac80211/Makefile | |
parent | 56702140b6ab8af28487f7b55dae611a8e15dcb1 (diff) | |
download | upstream-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.tar.gz upstream-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.tar.bz2 upstream-48855aab6c02fbe9c2a99d65ff4fe0ca1a1e7e51.zip |
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/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 60a12205ac..8edf0d2226 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 |