Signed-off-by: Daniel Schwierzeck <[email protected]> --- package/boot/uboot-lantiq/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
diff --git a/package/boot/uboot-lantiq/Makefile b/package/boot/uboot-lantiq/Makefile index 7a66aeb..a3e9805 100644 --- a/package/boot/uboot-lantiq/Makefile +++ b/package/boot/uboot-lantiq/Makefile @@ -17,6 +17,8 @@ PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot PKG_MD5SUM:=a076a044b64371edc52f7e562b13f6b2 PKG_TARGETS:=bin +FIRMWARE_LANTIQ_SOURCE:=$(TOPDIR)/target/linux/lantiq/files/firmware/lantiq + include $(INCLUDE_DIR)/package.mk define uboot/Default @@ -82,6 +84,19 @@ define BuildUBootPackage $(call Package/uboot/template,$(1),$(TITLE)) endef +define CopyVR9Firmware + $(CP) $(FIRMWARE_LANTIQ_SOURCE)/vr9_phy$(1)_a$(2)x.bin \ + $(PKG_BUILD_DIR)/arch/mips/cpu/mips32/vrx200/fw_phy$(1)_a$(2)x.blob +endef + +define Build/Prepare + $(call Build/Prepare/Default) + $(call CopyVR9Firmware,11g,1) + $(call CopyVR9Firmware,11g,2) + $(call CopyVR9Firmware,22f,1) + $(call CopyVR9Firmware,22f,2) +endef + define Build/Configure $(MAKE) -C $(PKG_BUILD_DIR) $(BUILD_VARIANT)_config endef -- 1.8.3.2 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
