diff options
| author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-25 09:17:25 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-26 11:56:29 +0200 |
| commit | bfc3e4cf4b7056b8ab5e9faf04946a74d8e98bec (patch) | |
| tree | 0be4fb07c81ed20a535551c43a8180c208a023ce /scripts | |
| parent | 9748d97e2eaf1956cda3915eee561cc091986145 (diff) | |
| download | meta-boot2qt-bfc3e4cf4b7056b8ab5e9faf04946a74d8e98bec.tar.gz | |
Helper script to build all device images
build-all.sh can be used to build image and toolchain for all
device which have build environment already setup. Have to use bash,
since the oe-init-build-env does not support dash.
Change-Id: I95778919015b40444f229d471791b5637de7d0d3
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build-all.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/build-all.sh b/scripts/build-all.sh new file mode 100755 index 0000000..63cfc9b --- /dev/null +++ b/scripts/build-all.sh | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | ############################################################################# | ||
| 3 | ## | ||
| 4 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
| 5 | ## | ||
| 6 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
| 7 | ## framework. | ||
| 8 | ## | ||
| 9 | ## $QT_BEGIN_LICENSE$ | ||
| 10 | ## Commercial License Usage Only | ||
| 11 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
| 12 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
| 13 | ## may use this file in accordance with the terms contained in said license | ||
| 14 | ## agreement. | ||
| 15 | ## | ||
| 16 | ## For further information use the contact form at | ||
| 17 | ## http://www.qt.io/contact-us. | ||
| 18 | ## | ||
| 19 | ## | ||
| 20 | ## $QT_END_LICENSE$ | ||
| 21 | ## | ||
| 22 | ############################################################################# | ||
| 23 | |||
| 24 | echo "-------------------------------------" >> build.log | ||
| 25 | for DIR in $(ls -d build-*); do | ||
| 26 | ( | ||
| 27 | export MACHINE=${DIR#*-} | ||
| 28 | . ./setup-environment.sh | ||
| 29 | |||
| 30 | echo "${MACHINE}:" >> ../build.log | ||
| 31 | echo " start: $(date)" >> ../build.log | ||
| 32 | bitbake b2qt-embedded-image meta-toolchain-b2qt-embedded-sdk || echo " build failed" >> ../build.log | ||
| 33 | echo " end: $(date)" >> ../build.log | ||
| 34 | ) | ||
| 35 | done | ||
