From 749dcdc27718c301c2370a78b4c24d19446e3085 Mon Sep 17 00:00:00 2001 From: Eric Wild Date: Mon, 15 May 2023 16:37:35 +0200 Subject: [PATCH] fw: only build the bl with clang -Oz breaks cardem, so just build the bootloader with clang. Closes: OS#6026 Change-Id: Idb9e9a024fb8bfec28ff479c254ea73be0c8ef82 --- contrib/jenkins.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index be6bda1f..1e2846cb 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -38,6 +38,7 @@ cd $TOPDIR/firmware 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 @@ for build in $BUILDS; do 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