Skip to content

Commit

Permalink
ramips: image: merge F5D8235V{1,2} templates
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30701 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
juhosg committed Feb 23, 2012
1 parent 2114850 commit 1a418e5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions target/linux/ramips/image/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1a418e5

Please sign in to comment.