aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-01-03 18:16:05 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-01-03 18:16:05 +0000
commitdb07020600d432f8f1aca51a4747c9eba49f3c2f (patch)
treec8961fcbc309aca7512c99f778ebc5fa59cf25de /package/mac80211/Makefile
parentf4e5522fe40192f91b9fcfce247ed75c76e16ccb (diff)
downloadupstream-db07020600d432f8f1aca51a4747c9eba49f3c2f.tar.gz
upstream-db07020600d432f8f1aca51a4747c9eba49f3c2f.tar.bz2
upstream-db07020600d432f8f1aca51a4747c9eba49f3c2f.zip
[package/mac80211]: tune ath dependencies - carl9170 can be used on targets with usb but without pci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24893 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 69fe1c16e0..a87178cbb1 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -401,7 +401,7 @@ endef
define KernelPackage/ath
$(call KernelPackage/mac80211/Default)
TITLE:=Atheros common driver part
- DEPENDS+= @PCI_SUPPORT +kmod-mac80211
+ DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT +kmod-mac80211
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
AUTOLOAD:=$(call AutoLoad,26,ath)
MENU:=1
@@ -415,7 +415,7 @@ define KernelPackage/ath5k
$(call KernelPackage/mac80211/Default)
TITLE:=Atheros 5xxx wireless cards support
URL:=http://linuxwireless.org/en/users/Drivers/ath5k
- DEPENDS+= +kmod-ath
+ DEPENDS+= @PCI_SUPPORT||@TARGET_atheros +kmod-ath
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
AUTOLOAD:=$(call AutoLoad,27,ath5k)
endef
@@ -429,7 +429,7 @@ define KernelPackage/ath9k
$(call KernelPackage/mac80211/Default)
TITLE:=Atheros 802.11n wireless cards support
URL:=http://linuxwireless.org/en/users/Drivers/ath9k
- DEPENDS+= +kmod-ath
+ DEPENDS+= @PCI_SUPPORT +kmod-ath
FILES:= \
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko \