all.sh: add support function for build_armcc

With this change, "--list-components" will not list
"build_armcc" on the system which is not installed
with Arm Compilers.

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-02-24 16:03:31 +08:00
parent 51b5f00a43
commit df07003c49

View File

@ -3505,6 +3505,11 @@ component_build_armcc () {
# ARM Compiler 6 - Target ARMv8.2-A - AArch64 # ARM Compiler 6 - Target ARMv8.2-A - AArch64
armc6_build_test "-O1 --target=aarch64-arm-none-eabi -march=armv8.2-a+crypto" armc6_build_test "-O1 --target=aarch64-arm-none-eabi -march=armv8.2-a+crypto"
} }
support_build_armcc () {
arm5_cc="$ARMC5_BIN_DIR/armcc"
arm6_cc="$ARMC6_BIN_DIR/armclang"
`check_tools "$arm5_cc" "$arm6_cc" > /dev/null 2>&1`
}
component_test_tls13_only () { component_test_tls13_only () {
msg "build: default config with MBEDTLS_SSL_PROTO_TLS1_3, without MBEDTLS_SSL_PROTO_TLS1_2" msg "build: default config with MBEDTLS_SSL_PROTO_TLS1_3, without MBEDTLS_SSL_PROTO_TLS1_2"