Changeset 36978


Ignore:
Timestamp:
2013-06-20T17:03:28+02:00 (5 years ago)
Author:
hauke
Message:

mac80211: add rt2x00-mmio package to store the common parts for SoC and PCI access

This should fix a build error on ramips.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r36975 r36978  
    230230endef 
    231231 
     232define KernelPackage/rt2x00-mmio 
     233$(call KernelPackage/rt2x00/Default) 
     234  DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6 
     235  TITLE+= (MMIO) 
     236  FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00mmio.ko 
     237  AUTOLOAD:=$(call AutoLoad,25,rt2x00mmio) 
     238endef 
     239 
    232240define KernelPackage/rt2x00-pci 
    233241$(call KernelPackage/rt2x00/Default) 
    234   DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6 
     242  DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib 
    235243  TITLE+= (PCI) 
    236   FILES:= \ 
    237         $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.ko \ 
    238         $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00mmio.ko 
    239   AUTOLOAD:=$(call AutoLoad,25,rt2x00mmio rt2x00pci) 
     244  FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.ko 
     245  AUTOLOAD:=$(call AutoLoad,26,rt2x00pci) 
    240246endef 
    241247 
     
    250256define KernelPackage/rt2x00-soc 
    251257$(call KernelPackage/rt2x00/Default) 
    252   DEPENDS+= @TARGET_ramips +kmod-rt2x00-lib 
     258  DEPENDS+= @TARGET_ramips +kmod-rt2x00-mmio +kmod-rt2x00-lib 
    253259  TITLE+= (SoC) 
    254260  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00soc.ko 
     
    306312define KernelPackage/rt2800-pci 
    307313$(call KernelPackage/rt2x00/Default) 
    308   DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-lib-crc-ccitt +TARGET_ramips:kmod-rt2x00-soc 
     314  DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +PCI_SUPPORT:kmod-rt2x00-pci +kmod-rt2800-lib +kmod-lib-crc-ccitt +TARGET_ramips:kmod-rt2x00-soc 
    309315  TITLE+= (RT2860 PCI) 
    310316  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800pci.ko 
     
    12331239 
    12341240config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB 
    1235 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI RT2X00_LIB_MMIO 
     1241config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI 
     1242config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO 
    12361243config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB 
    12371244config-$(call config_package,rt2x00-soc) += RT2X00_LIB_SOC 
     
    15831590$(eval $(call KernelPackage,p54-spi)) 
    15841591$(eval $(call KernelPackage,rt2x00-lib)) 
     1592$(eval $(call KernelPackage,rt2x00-mmio)) 
    15851593$(eval $(call KernelPackage,rt2x00-pci)) 
    15861594$(eval $(call KernelPackage,rt2x00-usb)) 
Note: See TracChangeset for help on using the changeset viewer.