Changeset 27046


Ignore:
Timestamp:
2011-06-01T00:53:16+02:00 (7 years ago)
Author:
juhosg
Message:

mac80211: make ath9k available even if PCI support is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r26927 r27046  
    417417  $(call KernelPackage/mac80211/Default) 
    418418  TITLE:=Atheros common driver part 
    419   DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT +kmod-mac80211 
     419  DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx +kmod-mac80211 
    420420  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko 
    421421  AUTOLOAD:=$(call AutoLoad,26,ath) 
     
    445445  TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc) 
    446446  URL:=http://linuxwireless.org/en/users/Drivers/ath9k 
    447   DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11N_SUPPORT 
     447  DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath +@DRIVER_11N_SUPPORT 
    448448  FILES:= \ 
    449449        $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \ 
     
    456456  TITLE:=Atheros 802.11n PCI wireless cards support 
    457457  URL:=http://linuxwireless.org/en/users/Drivers/ath9k 
    458   DEPENDS+= @PCI_SUPPORT +kmod-ath9k-common 
     458  DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath9k-common 
    459459  FILES:= \ 
    460460        $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko 
     
    11981198        $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS -DCONFIG_AR9170_LEDS) \ 
    11991199        -DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG \ 
    1200         -DCONFIG_ATH9K_PCI $(if $(CONFIG_TARGET_ar71xx),-DCONFIG_ATH9K_AHB) \ 
     1200        $(if $(CONFIG_PCI),-DCONFIG_ATH9K_PCI) \ 
     1201        $(if $(CONFIG_TARGET_ar71xx),-DCONFIG_ATH9K_AHB) \ 
    12011202        $(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),-DCONFIG_MAC80211_DEBUGFS -DCONFIG_ATH9K_DEBUGFS -DCONFIG_CARL9170_DEBUGFS -DCONFIG_ATH9K_HTC_DEBUGFS -DCONFIG_ATH5K_DEBUG) \ 
    12021203        $(if $(CONFIG_PACKAGE_ATH_DEBUG),-DCONFIG_ATH_DEBUG -DCONFIG_ATH9K_PKTLOG) \ 
     
    12501251        CONFIG_ATH5K_DEBUG=$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),y) \ 
    12511252        CONFIG_ATH9K=$(if $(CONFIG_PACKAGE_kmod-ath9k),m) \ 
    1252         CONFIG_ATH9K_PCI=y \ 
     1253        CONFIG_ATH9K_PCI=$(CONFIG_PCI) \ 
    12531254        CONFIG_ATH9K_AHB=$(if $(CONFIG_TARGET_ar71xx),y) \ 
    12541255        CONFIG_ATH9K_HTC=$(if $(CONFIG_PACKAGE_kmod-ath9k-htc),m) \ 
Note: See TracChangeset for help on using the changeset viewer.