-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild-all.sh
More file actions
executable file
·30 lines (26 loc) · 943 Bytes
/
build-all.sh
File metadata and controls
executable file
·30 lines (26 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Copyright (C) 2015-2016 Hyper Toolchains
# This file is free software; Hyper Toolchains
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# List Toolchain script names.
scripts='arm-eabi-4.9 arm-eabi-5.x arm-eabi-6.x arm-eabi-7.x arm-linux-androideabi-4.9 arm-linux-androideabi-5.x'
# Build Toolchains
for exec in $scripts; do
# Do not build Linaro variants for 7.x
if ! [ "$exec" = "arm-eabi-7.x" ]; then
./$exec Linaro SaberMod;
./$exec Linaro Uber;
fi;
./$exec SaberMod Linaro;
./$exec SaberMod Uber;
./$exec Uber Linaro;
./$exec Uber SaberMod;
done;
# State when complete.
echo '';
echo 'Complete!';