From b99f5f9c4a706b9d991787599d1f1c422133f5dc Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 14 Jan 2011 10:37:11 +0000
Subject: [PATCH] ar71xx: build separate image for the WNDR3700 with NA region

SVN-Revision: 24982
---
 target/linux/ar71xx/image/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index f1a9362184..9000063902 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -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
-- 
GitLab