aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2017-12-06 08:12:24 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2017-12-06 08:12:49 +0000
commit389484bb510a252b4109acf1c11bf79b23ca0479 (patch)
tree6a409e22118002d719514f1882759ef96a89245c
parent5c56042a028d4421a210bb1be15a708709c11f5f (diff)
downloadconfigs-389484bb510a252b4109acf1c11bf79b23ca0479.tar.gz
mbl-openembedded: only clean if WaRP7
The previous clean commit for mbl-openembedded cleaned for all platforms. However, platforms like RaspberryPi3 cannot clean these components as they aren't part of their builds. So only perform the clean if MACHINE is set to WaRP7. Change-Id: I0d4d234055d4f29dc5305bf4b50074112f443758 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-xmbl-openembedded/builders.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/mbl-openembedded/builders.sh b/mbl-openembedded/builders.sh
index 15b2031..38bbe95 100755
--- a/mbl-openembedded/builders.sh
+++ b/mbl-openembedded/builders.sh
@@ -108,8 +108,12 @@ EOF
# add useful debug info
cat conf/{site,auto}.conf
-# Temporary sstate cleanup to force warp7 firmware to be re-generated each time
-bitbake -c cleansstate u-boot-fslc imx7-efuse-util imx7-cst-native warp7-keys-native warp7-csf-native
+case "${MACHINE}" in
+ imx7s-warp)
+ # Temporary sstate cleanup to force warp7 firmware to be re-generated each time
+ bitbake -c cleansstate u-boot-fslc imx7-efuse-util imx7-cst-native warp7-keys-native warp7-csf-native
+ ;;
+esac
time bitbake ${IMAGES}