diff options
-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 | ||