1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge pull request #9737 from mpg/drop-armcc5-3.6

[3.6] Drop armcc5 support in all.sh
This commit is contained in:
Paul Elliott
2024-10-30 12:29:55 +00:00
committed by GitHub
3 changed files with 6 additions and 23 deletions

View File

@@ -543,8 +543,9 @@ component_build_arm_clang_thumb () {
}
component_build_armcc () {
msg "build: ARM Compiler 5"
# Common configuration for all the builds below
scripts/config.py baremetal
# armc[56] don't support SHA-512 intrinsics
scripts/config.py unset MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
@@ -561,11 +562,6 @@ component_build_armcc () {
scripts/config.py set MBEDTLS_HAVE_ASM
make CC="$ARMC5_CC" AR="$ARMC5_AR" WARNING_CFLAGS='--strict --c99' lib
msg "size: ARM Compiler 5"
"$ARMC5_FROMELF" -z library/*.o
# Compile mostly with -O1 since some Arm inline assembly is disabled for -O0.
# ARM Compiler 6 - Target ARMv7-A
@@ -598,9 +594,8 @@ component_build_armcc () {
}
support_build_armcc () {
armc5_cc="$ARMC5_BIN_DIR/armcc"
armc6_cc="$ARMC6_BIN_DIR/armclang"
(check_tools "$armc5_cc" "$armc6_cc" > /dev/null 2>&1)
(check_tools "$armc6_cc" > /dev/null 2>&1)
}
# For timebeing, no VIA Padlock platform available.