[openwrt/openwrt] uboot-fritz4040: build FritzBox 7520 variant

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 20 08:42:28 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/edbf9f156f85c90c899a576aff8a9f8aa506d4a5

commit edbf9f156f85c90c899a576aff8a9f8aa506d4a5
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Fri Jul 15 07:59:15 2022 +0200

    uboot-fritz4040: build FritzBox 7520 variant
    
    Support was added as variant of 7530 (DEVICE_ALT0_*) in:
    cb6f4be1 "ipq40xx: add support for FRITZ!Box 7520"
    
    u-boot has a distinct config for it [0], built it.
    
    [0] https://github.com/chunkeey/FritzBox-4040-UBOOT/pull/6
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
    Tested-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
---
 package/boot/uboot-fritz4040/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile
index 3aa08081bf..e3ff69d0e4 100644
--- a/package/boot/uboot-fritz4040/Makefile
+++ b/package/boot/uboot-fritz4040/Makefile
@@ -41,6 +41,11 @@ define U-Boot/fritz4040
   BUILD_DEVICES:=avm_fritzbox-4040
 endef
 
+define U-Boot/fritz7520
+  NAME:=FritzBox 7520
+  BUILD_DEVICES:=avm_fritzbox-7530
+endef
+
 define U-Boot/fritz7530
   NAME:=FritzBox 7530
   BUILD_DEVICES:=avm_fritzbox-7530
@@ -72,6 +77,6 @@ define Package/u-boot/install
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/upload-to-f4040.sh $(1)/
 endef
 
-UBOOT_TARGETS := fritz1200 fritz3000 fritz4040 fritz7530
+UBOOT_TARGETS := fritz1200 fritz3000 fritz4040 fritz7520 fritz7530
 
 $(eval $(call BuildPackage/U-Boot))




More information about the lede-commits mailing list