summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-11-23 23:59:35 +0059
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-03-29 09:52:17 +0200
commit8d6493bd1fe37379681036924a9b2c2a9292de1c (patch)
treeca0b5c0cdf2bb1beb94b38bf6fce4c84f25c7763
parent3ae720ed13400d7e10300d52107a5710f4c54146 (diff)
downloadcore-8d6493bd1fe37379681036924a9b2c2a9292de1c.tar.gz
rootdir: Origen uses the same partition layout as iMX53
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--rootdir/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index b28d3d8ac..2af10a992 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -45,6 +45,11 @@ ifeq ($(TARGET_PRODUCT),iMX53)
# boot partition...
sed -i -e 's,mmcblk0p5,mmcblk0p6,g;s,mmcblk0p3,mmcblk0p5,g;s,mmcblk0p2,mmcblk0p3,g' $(TARGET_ROOT_OUT)/init.rc
endif
+ifeq ($(TARGET_PRODUCT),origen)
+ # Partitions are offset a bit by Origen's special
+ # boot partition...
+ sed -i -e 's,mmcblk0p5,mmcblk0p6,g;s,mmcblk0p3,mmcblk0p5,g;s,mmcblk0p2,mmcblk0p3,g' $(TARGET_ROOT_OUT)/init.rc
+endif
ALL_PREBUILT += $(file)
$(INSTALLED_RAMDISK_TARGET): $(file)
endif