Hoernchen has uploaded this change for review.

View Change

fw: only build the bl with clang

-Oz breaks cardem, so just build the bootloader with clang.

Closes: OS#6026
Change-Id: Idb9e9a024fb8bfec28ff479c254ea73be0c8ef82
---
M contrib/jenkins.sh
1 file changed, 14 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/21/32721/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index be6bda1..1e2846c 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -38,6 +38,7 @@
for build in $BUILDS; do
board=`echo $build | cut -d "/" -f 1`
app=`echo $build | cut -d "/" -f 2`
+ [ "$app" == "dfu" ] && use_clang_for_bl=1 || use_clang_for_bl=0
case "$build" in
"owhw/cardem")
comb="combined"
@@ -57,7 +58,7 @@
esac
echo
echo "=============== $board / $app START =============="
- PATH="/opt/llvm-arm/bin:$PATH" make USE_CLANG=1 BOARD="$board" APP="$app" $comb
+ PATH="/opt/llvm-arm/bin:$PATH" make USE_CLANG="$use_clang_for_bl" BOARD="$board" APP="$app" $comb
echo "=============== $board / $app RES:$? =============="
done


To view, visit change 32721. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Idb9e9a024fb8bfec28ff479c254ea73be0c8ef82
Gerrit-Change-Number: 32721
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild@sysmocom.de>
Gerrit-MessageType: newchange