Change Details
| package/vsc73x5-ucode/Makefile |
| 10 | 10 | PKG_NAME:=vsc73x5-ucode |
| 11 | 11 | PKG_RELEASE:=1 |
| 12 | 12 | |
| 13 | | PKG_SOURCE_URL:=http://www.tp-link.com/GPL |
| 13 | PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources |
| 14 | 14 | |
| 15 | | PKG_SOURCE:=WirelessNRouer_AP.tar.gz |
| 15 | PKG_SOURCE:=vsc73x5-ucode.tar.bz2 |
| 16 | 16 | PKG_BUILD_DIR:=$(BUILD_DIR)/vsc73x5-ucode |
| 17 | 17 | |
| 18 | | PKG_MD5SUM:=7dd6069a5f0e44cc9965fc7b43eb3046 |
| 19 | | |
| 20 | | UCODE_SRC_DIR:=u-boot/board/ar7100/common |
| 21 | | UCODE_BUILD_DIR:=$(PKG_BUILD_DIR)/$(UCODE_SRC_DIR) |
| 18 | PKG_MD5SUM:=b32e3debcd118f263c79199a7b5afa68 |
| 22 | 19 | |
| 23 | 20 | include $(INCLUDE_DIR)/package.mk |
| 24 | 21 | |
| ... | ... | |
| 32 | 29 | |
| 33 | 30 | define Package/vsc73x5/install |
| 34 | 31 | $(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) |
| 36 | 33 | endef |
| 37 | 34 | |
| 38 | 35 | define Package/vsc7385-ucode-ap83 |
| ... | ... | |
| 87 | 84 | $(call Package/vsc73x5/install,$(1),g5e_Plus1_2_29a_unmanaged_Atheros_v3.bin,vsc7395_ucode_pb44.bin) |
| 88 | 85 | endef |
| 89 | 86 | |
| 90 | | define 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) |
| 93 | | endef |
| 94 | | |
| 95 | 87 | define Build/Compile |
| 96 | | $(MAKE) -C $(UCODE_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) all |
| 88 | |
| 97 | 89 | endef |
| 98 | 90 | |
| 99 | 91 | $(eval $(call BuildPackage,vsc7385-ucode-ap83)) |
Download the corresponding diff file