Ignore:
Timestamp:
2008-11-29T16:48:42+01:00 (8 years ago)
Author:
florian
Message:

[PATCH] Update mac80211 and make b43 driver build and load on targets other than brcm47xx (#4266)

Signed-off-by: Hauke Mehrtens <hauke@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r13320 r13431  
    1414 
    1515ifneq ($(CONFIG_LINUX_2_6_27),) 
    16   PKG_VERSION:=2008-11-03 
    17   PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/11 
     16  PKG_VERSION:=2008-11-29 
     17  PKG_SOURCE_URL:=http://wireless.kernel.org/download/compat-wireless-2.6/ 
    1818else 
    1919  PKG_VERSION:=2008-08-06 
    2020  PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08 
    21   PATCH_DIR:=$(if $(CONFIG_TARGET_brcm47xx),./patches-brcm,./patches-old) 
     21  PATCH_DIR:=./patches-old 
    2222endif 
    2323 
     
    289289  TITLE:=Generic stuff for Broadcom wireless devices 
    290290  URL:=http://linuxwireless.org/en/users/Drivers/b43 
    291   DEPENDS:=+kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb 
     291  DEPENDS:=+kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb @LINUX_2_6_25||@LINUX_2_6_26||@LINUX_2_6_27||@LINUX_2_6_28 
    292292endef 
    293293 
     
    317317        -I$(PKG_BUILD_DIR)/include \ 
    318318        $(foreach opt,$(CONFOPTS),-DCONFIG_$(opt)) \ 
    319         $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS) \ 
     319        $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS) \ 
     320        $(if $(CONFIG_RFKILL),-DCONFIG_B43_RFKILL -DCONFIG_B43LEGACY_RFKILL) \ 
     321        $(if $(CONFIG_PCMCIA),-DCONFIG_B43_PCMCIA) \ 
    320322        $(if $(CONFIG_DEBUG_FS), -DCONFIG_MAC80211_DEBUGFS) \ 
    321323        -D__CONFIG_MAC80211_RC_DEFAULT=minstrel \ 
     
    331333        CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS) \ 
    332334        CONFIG_MAC80211_DEBUGFS=$(CONFIG_DEBUG_FS) \ 
     335        CONFIG_B43_PCMCIA=$(CONFIG_PCMCIA) \ 
     336        CONFIG_B43_RFKILL=$(CONFIG_RFKILL) \ 
     337        CONFIG_B43LEGACY_RFKILL=$(CONFIG_RFKILL) \ 
     338        CONFIG_B43LEGACY_LEDS=$(CONFIG_LEDS_TRIGGERS) \ 
     339        CONFIG_B43_LEDS=$(CONFIG_LEDS_TRIGGERS) \ 
     340        $(if $(CONFIG_PACKAGE_kmod-b43),CONFIG_B43=m) \ 
     341        $(if $(CONFIG_PACKAGE_kmod-b43legacy),CONFIG_B43LEGACY=m) \ 
    333342        KLIB_BUILD="$(LINUX_DIR)" \ 
    334343        MODPROBE=: 
     
    344353        -unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT2860FW) 
    345354        $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2 
    346         $(if $(CONFIG_TARGET_brcm47xx),rm -rf $(PKG_BUILD_DIR)/include/linux/ssb) 
    347         rm $(PKG_BUILD_DIR)/include/net/ieee80211_crypt.h 
     355        rm -rf $(PKG_BUILD_DIR)/include/linux/ssb 
    348356        rm $(PKG_BUILD_DIR)/include/net/ieee80211.h 
    349357        rm $(PKG_BUILD_DIR)/include/net/ieee80211_radiotap.h 
Note: See TracChangeset for help on using the changeset viewer.