aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-24 18:40:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-24 18:40:33 +0000
commit859c9150777f651e8b9dcf1a770380df1f439acb (patch)
tree2d2606c410d6203b898e8249871d552883dce010 /target/linux/ar71xx/image
parent6ad9bf8d173b6d4479aabfcb7b18e57c5a990c7e (diff)
downloadupstream-859c9150777f651e8b9dcf1a770380df1f439acb.tar.gz
upstream-859c9150777f651e8b9dcf1a770380df1f439acb.tar.bz2
upstream-859c9150777f651e8b9dcf1a770380df1f439acb.zip
ar71xx: pass mtdlayout to Planex boards via command line
SVN-Revision: 29894
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index dc433e0511..7013730903 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -291,8 +291,9 @@ define Image/Build/UBNT
$(call sysupname,$(1),$(2))
endef
+planex_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),6336k(rootfs),128k(art)ro,7744k@0x50000(firmware)
define Image/Build/Planex
- $(call MkuImageGzip,$(2),$(3))
+ $(call MkuImageGzip,$(2),$(3) $(planex_mtdlayout))
$(call Sysupgrade/KR,$(1),$(2),1441792,6356992)
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
$(STAGING_DIR_HOST)/bin/mkplanexfw \