summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2010-05-31 13:12:25 +0200
committerLuotao Fu <l.fu@pengutronix.de>2010-05-31 15:00:53 +0200
commit0f6d3545be554301717ac51d82fb07cfbfbd63fd (patch)
treee6c69a6b8a1ddc5151010f6765293715677a11bc /config
parent72aca8e0d0c54493b36f2a3c064d335fcd88a45b (diff)
downloadptxdist-0f6d3545be554301717ac51d82fb07cfbfbd63fd.tar.gz
ptxdist-0f6d3545be554301717ac51d82fb07cfbfbd63fd.tar.xz
[ptxdist] enhance ubi image creation
This one reworks the UBI image relevant stuffs. Creating a root volume is a selectable option, though mandatory, now. Split out the volume specific options from UBI generic options, so that we could add options for further volumes later. Also updated the help text and Add some enhancement to the makefile in printing and macro usage. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Diffstat (limited to 'config')
-rw-r--r--config/mtd-utils/ubi.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/mtd-utils/ubi.ini b/config/mtd-utils/ubi.ini
index 28a02bf85..75d0c97b0 100644
--- a/config/mtd-utils/ubi.ini
+++ b/config/mtd-utils/ubi.ini
@@ -1,10 +1,10 @@
-[root]
+[@UBI_VOLUME_NAME@]
mode=ubi
-image=root.ubifs
-vol_id=1
+image=@UBI_VOLUME_IMAGE@
+vol_id=@UBI_VOLUME_ID@
vol_size=@UBI_VOLUME_SIZE@
vol_type=dynamic
-vol_name=root
+vol_name=@UBI_VOLUME_NAME@
vol_flags=autoresize
vol_alignment=1