Date:2010-04-30 18:54:53 (13 years 7 months ago)
Author:nbd
Commit:5970ed4ddb6aaa2dda4bf0fd27310e6d3cd847f5
Message:[backfire] merge vsc73x5-ucode download patch from r21274

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/vsc73x5-ucode/Makefile (3 diffs)

Change Details

package/vsc73x5-ucode/Makefile
1010PKG_NAME:=vsc73x5-ucode
1111PKG_RELEASE:=1
1212
13PKG_SOURCE_URL:=http://www.tp-link.com/GPL
13PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
1414
15PKG_SOURCE:=WirelessNRouer_AP.tar.gz
15PKG_SOURCE:=vsc73x5-ucode.tar.bz2
1616PKG_BUILD_DIR:=$(BUILD_DIR)/vsc73x5-ucode
1717
18PKG_MD5SUM:=7dd6069a5f0e44cc9965fc7b43eb3046
19
20UCODE_SRC_DIR:=u-boot/board/ar7100/common
21UCODE_BUILD_DIR:=$(PKG_BUILD_DIR)/$(UCODE_SRC_DIR)
18PKG_MD5SUM:=b32e3debcd118f263c79199a7b5afa68
2219
2320include $(INCLUDE_DIR)/package.mk
2421
...... 
3229
3330define Package/vsc73x5/install
3431    $(INSTALL_DIR) $(1)/lib/firmware
35    $(INSTALL_DATA) $(UCODE_BUILD_DIR)/$(2) $(1)/lib/firmware/$(3)
32    $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(2) $(1)/lib/firmware/$(3)
3633endef
3734
3835define Package/vsc7385-ucode-ap83
...... 
8784  $(call Package/vsc73x5/install,$(1),g5e_Plus1_2_29a_unmanaged_Atheros_v3.bin,vsc7395_ucode_pb44.bin)
8885endef
8986
90define Build/Prepare
91    tar -xzf "$(DL_DIR)/$(PKG_SOURCE)" ap-9x-gpl/ap93-u-boot.tar.bz2 -O | tar -C "$(PKG_BUILD_DIR)" -xj $(UCODE_SRC_DIR)
92    cp files/Makefile $(UCODE_BUILD_DIR)
93endef
94
9587define Build/Compile
96    $(MAKE) -C $(UCODE_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) all
88
9789endef
9890
9991$(eval $(call BuildPackage,vsc7385-ucode-ap83))

Archive Download the corresponding diff file



interactive