[source] ar71xx: generate US- and EU-specific images for the Archer C7 v2

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 28 11:07:27 PDT 2016


neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/fa0096f6cc236e1346a344d3edf467945aa4a27e

commit fa0096f6cc236e1346a344d3edf467945aa4a27e
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Sun Aug 28 19:49:48 2016 +0200

    ar71xx: generate US- and EU-specific images for the Archer C7 v2
    
    TP-Link has started providing US- and EU-specific stock firmwares that only
    allow upgrading to firmwares with the same region code. Provide factory
    images for both these regions.
    
    To avoid confusing users outside these regions, we still provide a
    "universal" factory.bin without a region code, although flashing either of
    the US and EU images would work as well.
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/linux/ar71xx/image/tp-link.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
index cb9358c..c2080ab 100644
--- a/target/linux/ar71xx/image/tp-link.mk
+++ b/target/linux/ar71xx/image/tp-link.mk
@@ -199,7 +199,9 @@ define Device/archer-c7-v2
     BOARDNAME := ARCHER-C7-V2
     DEVICE_PROFILE := ARCHERC7
     TPLINK_HWID := 0xc7000002
-    IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
+    IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
+    IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
+    IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
 endef
 
 define Device/tl-wdr7500-v3



More information about the lede-commits mailing list