Hoernchen has submitted this change. ( 
https://gerrit.osmocom.org/c/simtrace2/+/32721 )

Change subject: fw: only build the bl with clang
......................................................................

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(-)

Approvals:
  Jenkins Builder: Verified
  dexter: Looks good to me, but someone else must approve; Verified
  pespin: Looks good to me, but someone else must approve
  Hoernchen: Looks good to me, approved




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 https://gerrit.osmocom.org/c/simtrace2/+/32721
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Idb9e9a024fb8bfec28ff479c254ea73be0c8ef82
Gerrit-Change-Number: 32721
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-Reviewer: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to