ar71xx: fix image generation for TL-WR741ND/TL-WR841ND-v5
authorGabor Juhos <juhosg@openwrt.org>
Tue, 19 Jan 2010 18:27:57 +0000 (18:27 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 19 Jan 2010 18:27:57 +0000 (18:27 +0000)
SVN-Revision: 19230

target/linux/ar71xx/image/Makefile

index 09d743c479d5421c1e82c557103b3bd44775d3ab..61f390d050952b95c892e501fe7a93d93030f36b 100644 (file)
@@ -334,6 +334,10 @@ define Image/Build/Template/squashfs-only/squashfs
        $(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
 endef
 
+define Image/Build/Template/4k/squashfs
+       $(call Image/Build/$(1),squashfs-4k,$(2),$(3),$(4),$(5),$(6),$(7))
+endef
+
 define Image/Build/Template/64k/squashfs
        $(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
 endef
@@ -432,7 +436,7 @@ define Image/Build/Profile/MZKW300NH
 endef
 
 define Image/Build/Profile/TLWR741NDV1
-       $(call Image/Build/Template/squashfs-only/$(1),TPLINK4K,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1)
+       $(call Image/Build/Template/4k/$(1),TPLINK,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1)
 endef
 
 define Image/Build/Profile/TLWR841NV15
@@ -444,7 +448,7 @@ define Image/Build/Profile/TLWR841NDV3
 endef
 
 define Image/Build/Profile/TLWR841NDV5
-       $(call Image/Build/Template/squashfs-only/$(1),TPLINK4K,tl-wr841nd-v5,board=TL-WR741ND,TL-WR841NDv5)
+       $(call Image/Build/Template/4k/$(1),TPLINK,tl-wr841nd-v5,board=TL-WR741ND,TL-WR841NDv5)
 endef
 
 define Image/Build/Profile/TLWR941NDV2