diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-08-17 13:14:24 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-09-03 09:12:21 +0000 |
commit | 5c8768c199441a84b942d9993d94a06262abd85b (patch) | |
tree | 88028fed0911d15edda1c9c820b514514574784f /tcwg_bmk-build.sh | |
parent | 70b59f1a28af39fe02ea61cbeef2b449ccec389e (diff) |
tcwg_bmk-build.sh, jenkins-helpers.sh: Add support for arm-eabi target
This is useful to run benchmarks on stm32 boards (Cortex-M,
bare-metal).
Change-Id: I115b982effea9d0ddebe990d74f8bb6c72806778
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-x | tcwg_bmk-build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 ;; |