Changeset 12612


Ignore:
Timestamp:
2008-09-15T12:17:13+02:00 (8 years ago)
Author:
nico
Message:

use the Download/ macro to get ACX firmwares

Location:
trunk/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/acx-mac80211/Makefile

    r12455 r12612  
    2121PKG_SOURCE_VERSION:=$(PKG_REV) 
    2222 
    23 PKG_FW_C16_NAME:=tiacx111c16 
    24 PKG_FW_C16_URL:=http://teknoraver.net/software/acx-mac80211/ 
    25 #PKG_FW_C16_MD5SUM:=fcd07de4b25e1d2aaf3b78b27c5b7ee9    #version 1.2.1.34 
    26 PKG_FW_C16_MD5SUM:=7026826460376f6b174f9225bd7781b9     #version 2.3.1.31 
    27  
    28 PKG_FW_C19_NAME:=tiacx111c19 
    29 PKG_FW_C19_URL:=http://ipkg.k1k2.de/files/ 
    30 PKG_FW_C19_MD5SUM:=a1fa9681e297b4e36e257090fc12265a 
    31  
    3223include $(INCLUDE_DIR)/package.mk 
    3324 
     
    4435endef 
    4536 
    46 $(STAMP_BUILT): $(DL_DIR)/$(PKG_FW_C16_NAME) $(DL_DIR)/$(PKG_FW_C19_NAME) 
    4737 
    48 $(DL_DIR)/$(PKG_FW_C16_NAME): 
    49         $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_FW_C16_NAME)" "$(PKG_FW_C16_MD5SUM)" $(PKG_FW_C16_URL) 
     38C16_FW:=tiacx111c16 
     39C19_FW:=tiacx111c19 
    5040 
    51 $(DL_DIR)/$(PKG_FW_C19_NAME): 
    52         $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_FW_C19_NAME)" "$(PKG_FW_C19_MD5SUM)" $(PKG_FW_C19_URL) 
     41define Download/tiacx111c16 
     42  FILE:=$(C16_FW) 
     43  URL:=http://teknoraver.net/software/acx-mac80211/ 
     44  MD5SUM:=7026826460376f6b174f9225bd7781b9 
     45endef 
     46$(eval $(call Download,tiacx111c16)) 
     47 
     48define Download/tiacx111c19 
     49  FILE:=$(C19_FW) 
     50  URL:=http://ipkg.k1k2.de/files/ 
     51  MD5SUM:=a1fa9681e297b4e36e257090fc12265a 
     52endef 
     53$(eval $(call Download,tiacx111c19)) 
     54 
    5355 
    5456PKG_EXTRA_KCONFIG:= \ 
     
    7880define KernelPackage/acx-mac80211/install 
    7981        $(INSTALL_DIR) $(1)/lib/firmware 
    80         $(INSTALL_DATA) $(DL_DIR)/$(PKG_FW_C16_NAME) $(1)/lib/firmware/ 
    81         $(INSTALL_DATA) $(DL_DIR)/$(PKG_FW_C19_NAME) $(1)/lib/firmware/ 
     82        $(INSTALL_DATA) $(DL_DIR)/$(C16_FW) $(1)/lib/firmware/ 
     83        $(INSTALL_DATA) $(DL_DIR)/$(C19_FW) $(1)/lib/firmware/ 
    8284endef 
    8385 
  • trunk/package/acx/Makefile

    r11821 r12612  
    1717PKG_SOURCE_URL:=@SF/acx100 
    1818PKG_MD5SUM:=7d5ce3215708e4e9f95cf567a9ee3a12 
    19  
    20 PKG_FW_C16_NAME:=tiacx111c16 
    21 PKG_FW_C16_URL:=http://teknoraver.net/software/acx-mac80211/ 
    22 PKG_FW_C16_MD5SUM:=7026826460376f6b174f9225bd7781b9 
    23  
    24 PKG_FW_C19_NAME:=tiacx111c19 
    25 PKG_FW_C19_URL:=http://ipkg.k1k2.de/files/ 
    26 PKG_FW_C19_MD5SUM:=a1fa9681e297b4e36e257090fc12265a 
    2719 
    2820PKG_UNPACK:= \ 
     
    4638endef 
    4739 
    48 $(STAMP_BUILT): $(DL_DIR)/$(PKG_FW_C16_NAME) $(DL_DIR)/$(PKG_FW_C19_NAME) 
     40C16_FW:=tiacx111c16 
     41C19_FW:=tiacx111c19 
    4942 
    50 $(DL_DIR)/$(PKG_FW_C16_NAME): 
    51         $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_FW_C16_NAME)" "$(PKG_FW_C16_MD5SUM)" $(PKG_FW_C16_URL) 
     43define Download/tiacx111c16 
     44  FILE:=$(C16_FW) 
     45  URL:=http://teknoraver.net/software/acx-mac80211/ 
     46  MD5SUM:=7026826460376f6b174f9225bd7781b9 
     47endef 
     48$(eval $(call Download,tiacx111c16)) 
    5249 
    53 $(DL_DIR)/$(PKG_FW_C19_NAME): 
    54         $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_FW_C19_NAME)" "$(PKG_FW_C19_MD5SUM)" $(PKG_FW_C19_URL) 
     50define Download/tiacx111c19 
     51  FILE:=$(C19_FW) 
     52  URL:=http://ipkg.k1k2.de/files/ 
     53  MD5SUM:=a1fa9681e297b4e36e257090fc12265a 
     54endef 
     55$(eval $(call Download,tiacx111c19)) 
     56 
    5557 
    5658define Build/Compile 
     
    7274define KernelPackage/acx/install 
    7375        $(INSTALL_DIR) $(1)/lib/firmware 
    74         $(INSTALL_DATA) $(DL_DIR)/$(PKG_FW_C16_NAME) $(1)/lib/firmware/ 
    75         $(INSTALL_DATA) $(DL_DIR)/$(PKG_FW_C19_NAME) $(1)/lib/firmware/ 
     76        $(INSTALL_DATA) $(DL_DIR)/$(C16_FW) $(1)/lib/firmware/ 
     77        $(INSTALL_DATA) $(DL_DIR)/$(C19_FW) $(1)/lib/firmware/ 
    7678endef 
    7779 
Note: See TracChangeset for help on using the changeset viewer.