diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2012-08-08 16:48:55 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2012-08-08 16:48:55 +0300 |
commit | 94c94318239f7038f98f3d9e3ce61fb7c84ccc0f (patch) | |
tree | 990ad63267b1a0b56cf1b1cf77c242454307f9f0 /build-scripts/helpers | |
parent | a2ef51306c15526ffc002defe8735cba95d27b75 (diff) |
Add BUILD_FS_IMAGE bool config option to create FS image.
Diffstat (limited to 'build-scripts/helpers')
-rw-r--r-- | build-scripts/helpers | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers index 56094e4..6908b26 100644 --- a/build-scripts/helpers +++ b/build-scripts/helpers @@ -145,3 +145,16 @@ infrastructure_error () { # Interpreted as NOT_BUILT by Shell Status plugin exit 123 } + +# Convert Android's TARGET_PRODUCT to linaro-android-media-create --dev option value +product2lamc_dev () { +# Inventory: vexpress,snowball_emmc,mx6qsabrelite,vexpress-a9,panda,iMX53,smdkv310,snowball_sd,beagle,origen,mx53loco + case "$1" in + "pandaboard") + echo -n "panda";; + "snowball") + echo -n "snowball_sd";; + *) + echo -n "$1";; + esac +} |