aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-23 19:58:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-23 19:58:10 +0000
commit49e53c06b9491d75f86eebf854e621f5a96a25eb (patch)
tree818dc420dc687592ac6dd6881c01578d201ab671 /target/linux/ramips/image
parent00e7277a4c1f44cd937975dcf2d99d381eafb7af (diff)
downloadupstream-49e53c06b9491d75f86eebf854e621f5a96a25eb.tar.gz
upstream-49e53c06b9491d75f86eebf854e621f5a96a25eb.tar.bz2
upstream-49e53c06b9491d75f86eebf854e621f5a96a25eb.zip
ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 0ac9cb6c92..9bac08b3d2 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -328,16 +328,12 @@ endef
mtdlayout_f5d8235=mtdparts=physmap-flash.0:320k(u-boot)ro,1536k(kernel),6208k(rootfs),64k(nvram),64k(factory),7744k@0x50000(firmware)
mtd_f5d8235_kernel_part_size=1572864
mtd_f5d8235_rootfs_part_size=6356992
-define Image/Build/Template/F5D8235V2
+define Image/Build/Template/F5D8235
$(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size))
endef
define Image/Build/Profile/F5D8235V2
- $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235V2,f5d8235v2,F5D8235_V2)
-endef
-
-define Image/Build/Template/F5D8235V1
- $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size))
+ $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235,f5d8235v2,F5D8235_V2)
endef
define Image/Build/Profile/WR5123GN
@@ -378,7 +374,7 @@ endef
endif
define Image/Build/Profile/F5D8235V1
- $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235V1,f5d8235v1,F5D8235_V1)
+ $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235,f5d8235v1,F5D8235_V1)
endef
define Image/Build/Profile/RTN15