ar71xx: fix WNDR3x00 factory image generation
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Dec 2011 06:55:50 +0000 (06:55 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Dec 2011 06:55:50 +0000 (06:55 +0000)
commitaa54ff79a0e2b51f2a17dca81a626339229d327d
tree685d3a3d593a240820b6278a0d27ef2f9800d482
parente310d5b786eb4c7e461f0aa609b3d3642db95465
ar71xx: fix WNDR3x00 factory image generation

Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/image/Makefile