diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-07-03 15:01:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-07-03 15:01:52 +0000 |
commit | 00b5a5f8adca5d33532310cec0d55d4e6f4b0c15 (patch) | |
tree | 58779565f5a38216342633826b869a3beccf331c /target/linux/ramips/image/Makefile | |
parent | a99c1d5c6978bc9bba64b31d739925d2e3dc3981 (diff) | |
download | master-187ad058-00b5a5f8adca5d33532310cec0d55d4e6f4b0c15.tar.gz master-187ad058-00b5a5f8adca5d33532310cec0d55d4e6f4b0c15.tar.bz2 master-187ad058-00b5a5f8adca5d33532310cec0d55d4e6f4b0c15.zip |
ramips: use different partition names in the DIR-300-B1 image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27386 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r-- | target/linux/ramips/image/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 80268ab2f7..bab12c2e8a 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -80,8 +80,15 @@ define Image/Build/Template/GENERIC_8M $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_8M,851968,7208960) endef +mtdlayout_dir300b1=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware) +mtd_dir300b1_kernel_part_size=851968 +mtd_dir300b1_rootfs_part_size=3014656 +define Image/Build/Template/DIR300B1 + $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_dir300b1,$(mtd_dir300b1_kernel_part_size),$(mtd_dir300b1_rootfs_part_size)) +endef + define Image/Build/Profile/DIR300B1 - $(call Image/Build/Template/GENERIC_4M,$(1),dir-300-b1,DIR-300-revB) + $(call Image/Build/Template/DIR300B1,$(1),dir-300-b1,DIR-300-revB) endef define Image/Build/Profile/FONERA20N |