ar71xx: build separate image for the WNDR3700 with NA region
authorGabor Juhos <juhosg@openwrt.org>
Fri, 14 Jan 2011 10:37:11 +0000 (10:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 14 Jan 2011 10:37:11 +0000 (10:37 +0000)
SVN-Revision: 24982

target/linux/ar71xx/image/Makefile

index f1a9362..9000063 100644 (file)
@@ -371,6 +371,10 @@ define Image/Build/WNDR3700
                -B WNDR3700 -v OpenWrt.$(REVISION) \
                -i $(call imgname,$(1),$(2))-sysupgrade.bin \
                -o $(call imgname,$(1),$(2))-factory.img
+       $(STAGING_DIR_HOST)/bin/mkdniimg \
+               -B WNDR3700 -v OpenWrt.$(REVISION) -r "NA" \
+               -i $(call imgname,$(1),$(2))-sysupgrade.bin \
+               -o $(call imgname,$(1),$(2))-factory-NA.img
 endef
 
 ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh