tune ath dependencies - carl9170 can be used on targets with usb but without pci

SVN-Revision: 24893
lede-17.01
Imre Kaloz 2011-01-03 18:16:05 +00:00
parent 08448f7e3d
commit e99f8f2dd0
1 changed files with 3 additions and 3 deletions

View File

@ -401,7 +401,7 @@ endef
define KernelPackage/ath define KernelPackage/ath
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
TITLE:=Atheros common driver part 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 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
AUTOLOAD:=$(call AutoLoad,26,ath) AUTOLOAD:=$(call AutoLoad,26,ath)
MENU:=1 MENU:=1
@ -415,7 +415,7 @@ define KernelPackage/ath5k
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
TITLE:=Atheros 5xxx wireless cards support TITLE:=Atheros 5xxx wireless cards support
URL:=http://linuxwireless.org/en/users/Drivers/ath5k 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 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
AUTOLOAD:=$(call AutoLoad,27,ath5k) AUTOLOAD:=$(call AutoLoad,27,ath5k)
endef endef
@ -429,7 +429,7 @@ define KernelPackage/ath9k
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
TITLE:=Atheros 802.11n wireless cards support TITLE:=Atheros 802.11n wireless cards support
URL:=http://linuxwireless.org/en/users/Drivers/ath9k URL:=http://linuxwireless.org/en/users/Drivers/ath9k
DEPENDS+= +kmod-ath DEPENDS+= @PCI_SUPPORT +kmod-ath
FILES:= \ FILES:= \
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko \