Changeset 29751


Ignore:
Timestamp:
2012-01-14T23:56:22+01:00 (6 years ago)
Author:
kaloz
Message:

[package/mac80211]: build and package the wl12xx driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r29728 r29751  
    11# 
    2 # Copyright (C) 2007-2011 OpenWrt.org 
     2# Copyright (C) 2007-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1212 
    1313PKG_VERSION:=2011-12-01 
    14 PKG_RELEASE:=1 
     14PKG_RELEASE:=2 
    1515PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources 
    1616PKG_MD5SUM:=8d1fe2fd6bbabc4fbbf31dfbf015c62c 
     
    2727        ath9k-common ath9k ath9k-htc ath net-libipw net-ipw2100 net-ipw2200 \ 
    2828        mwl8k net-hermes net-hermes-pci net-hermes-plx net-hermes-pcmcia \ 
    29         iwl-legacy iwl3945 iwl4965 iwlagn lib80211 
     29        iwl-legacy iwl3945 iwl4965 iwlagn wl12xx lib80211 
    3030 
    3131PKG_CONFIG_DEPENDS:= \ 
     
    754754define KernelPackage/mwl8k/description 
    755755 Kernel modules for Marvell TOPDOG 802.11 Wireless cards 
     756endef 
     757 
     758 
     759define KernelPackage/wl12xx 
     760  $(call KernelPackage/mac80211/Default) 
     761  TITLE:=Driver for TI WL12xx 
     762  URL:=http://wireless.kernel.org/en/users/Drivers/wl12xx 
     763  DEPENDS+= @TARGET_omap4 +kmod-mac80211 
     764  FILES:= \ 
     765        $(PKG_BUILD_DIR)/drivers/net/wireless/wl12xx/wl12xx.ko \ 
     766        $(PKG_BUILD_DIR)/drivers/net/wireless/wl12xx/wl12xx_sdio.ko 
     767  AUTOLOAD:=$(call AutoLoad,61,wl12xx wl12xx_sdio) 
     768endef 
     769 
     770define KernelPackage/wl12xx/description 
     771 Kernel modules for TI WL12xx 
    756772endef 
    757773 
     
    10991115        $(if $(CONFIG_TARGET_atheros),-DCONFIG_ATH5K_AHB,-DCONFIG_ATH5K_PCI) \ 
    11001116        $(if $(CONFIG_PACKAGE_kmod-iwl3945),-DCONFIG_IWL3945) \ 
    1101         $(if $(CONFIG_PACKAGE_kmod-iwl4965),-DCONFIG_COMPAT_IWL4965) 
     1117        $(if $(CONFIG_PACKAGE_kmod-iwl4965),-DCONFIG_COMPAT_IWL4965) \ 
     1118        $(if $(CONFIG_PACKAGE_kmod-wl12xx),-DCONFIG_WL12XX -DCONFIG_COMPAT_WL12XX_SDIO) 
    11021119 
    11031120MAKE_OPTS:= \ 
     
    12061223        CONFIG_USB_USBNET= \ 
    12071224        CONFIG_AT76C50X_USB= \ 
    1208         CONFIG_WL12XX= \ 
     1225        CONFIG_WL12XX=$(if $(CONFIG_PACKAGE_kmod-wl12xx),m) \ 
     1226        CONFIG_COMPAT_WL12XX_SDIO=$(if $(CONFIG_PACKAGE_kmod-wl12xx),m) \ 
    12091227        CONFIG_EEPROM_93CX6= \ 
    12101228        CONFIG_HERMES=$(if $(CONFIG_PACKAGE_kmod-net-hermes),m) \ 
     
    13421360        $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2870.bin $(1)/lib/firmware/ 
    13431361endef 
     1362 
     1363define KernelPackage/wl12xx/install 
     1364        $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity 
     1365        $(INSTALL_DATA) \ 
     1366                $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-3.bin \ 
     1367                $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-plt-3.bin \ 
     1368                $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-nvs.bin \ 
     1369                $(1)/lib/firmware/ti-connectivity 
     1370endef 
     1371 
    13441372 
    13451373define KernelPackage/zd1211rw/install 
     
    15091537$(eval $(call KernelPackage,net-hermes-plx)) 
    15101538$(eval $(call KernelPackage,net-hermes-pcmcia)) 
     1539$(eval $(call KernelPackage,wl12xx)) 
Note: See TracChangeset for help on using the changeset viewer.