diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 18:40:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 18:40:33 +0000 |
commit | bd7d55d8ed0fa3046efe1cc550a058f8b1f081c9 (patch) | |
tree | 6e9a12b44128050cba1fcdfd1ff145485b66b635 /target | |
parent | 352efddfa0f2e85d83544bff68b469930e5a1a3a (diff) | |
download | upstream-bd7d55d8ed0fa3046efe1cc550a058f8b1f081c9.tar.gz upstream-bd7d55d8ed0fa3046efe1cc550a058f8b1f081c9.tar.bz2 upstream-bd7d55d8ed0fa3046efe1cc550a058f8b1f081c9.zip |
ar71xx: pass mtdlayout to Planex boards via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 3 |
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 \ |