Build images for WAG54GP2v1 and v2, thanks sn9
authorFlorian Fainelli <florian@openwrt.org>
Sat, 30 Aug 2008 12:25:02 +0000 (12:25 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 30 Aug 2008 12:25:02 +0000 (12:25 +0000)
SVN-Revision: 12438

target/linux/ar7/image/Makefile

index ef30431c00651d5e4839728e9a86b212b8c2bfe0..598f604a9bc13fbad1194615b5e10c0ffaa58748 100644 (file)
@@ -54,7 +54,7 @@ endef
 
 define Image/Build/CyberTAN
        (dd if=/dev/zero bs=16 count=1; cat $(BIN_DIR)/openwrt-$(BOARD)-$(1).bin) | \
-               $(STAGING_DIR_HOST)/bin/addpattern -p $(3) -o $(BIN_DIR)/openwrt-$(2)-$(4).bin
+               $(STAGING_DIR_HOST)/bin/addpattern -p $(3) -o $(BIN_DIR)/openwrt-$(2)-$(4)-code.bin
 endef
 
 #define Image/Build/sErCoMm
@@ -81,6 +81,8 @@ define Image/Build
        $(call Image/Build/CyberTAN,$(1),AG241v2,AG3A -b -r 2.0,$(1))
        $(call Image/Build/CyberTAN,$(1),AG241v2b,AG3B -b -r 2.0,$(1))
        $(call Image/Build/CyberTAN,$(1),AG241v1,AG3A -b,$(1))
+       $(call Image/Build/CyberTAN,$(1),WAG54GP2v1,ATWL -b,$(1))
+       $(call Image/Build/CyberTAN,$(1),WAG54GP2v2,CTWL -b,$(1))
        $(call Image/Build/CyberTAN,$(1),WA31,WA31 -b,$(1))
        $(call Image/Build/CyberTAN,$(1),WA32,WA32 -b,$(1))
        $(call Image/Build/CyberTAN,$(1),WA7A,WA7A -b,$(1))