ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 11 Nov 2016 02:29:59 +0000 (03:29 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 11 Nov 2016 02:29:59 +0000 (03:29 +0100)
The latest stock firmwares for US and EU regions have started checking the
region code.

Tested-by: Andreas Ziegler <ml@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/linux/ar71xx/image/tp-link.mk

index f69424d..d04bac1 100644 (file)
@@ -623,6 +623,9 @@ define Device/tl-wr841-v11
    BOARDNAME := TL-WR841N-v11
    DEVICE_PROFILE := TLWR841
    TPLINK_HWID := 0x08410011
+   IMAGES += 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-wr842n-v1