summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jenkins-helpers.sh1
-rwxr-xr-xtcwg_bmk-build.sh5
2 files changed, 6 insertions, 0 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh
index 71d60a22..473d16e2 100644
--- a/jenkins-helpers.sh
+++ b/jenkins-helpers.sh
@@ -1017,6 +1017,7 @@ print_gnu_target ()
fi
case "$target" in
"aarch64") target="aarch64-linux-gnu" ;;
+ "arm-eabi") target="arm-eabi" ;;
"arm"*) target="arm-linux-gnueabihf" ;;
"x86_64") target="x86_64-linux-gnu" ;;
*) echo "ERROR: Unknown target $target" >&2; exit 1 ;;
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index b2bbda42..51e33616 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -72,6 +72,10 @@ for i in $(seq 0 $(("${#cflags[@]}" - 1))); do
cflags_mode=arm
cflags[$i]="${cflags[$i]}_marm"
;;
+ "arm-eabi:"*)
+ cflags_mode=thumb
+ cflags[$i]="${cflags[$i]}_thumb"
+ ;;
esac
if [ x"$gcc_mode" = x"" ]; then
gcc_mode="$cflags_mode"
@@ -213,6 +217,7 @@ benchmark ()
local hw results_top image_arch results_id
case "${rr[target]}" in
armv8*) hw=tx1; results_top=tx1_32; image_arch=armhf ;;
+ arm-eabi) hw=stm32; results_top=STM32L476RGTx; image_arch=armhf ;;
arm*) hw=tk1; results_top=tk1_32; image_arch=armhf ;;
aarch64*) hw=tx1; results_top=tx1_64; image_arch=arm64 ;;
*) echo "ERROR: Unknown target ${rr[target]}"; exit 1 ;;