mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-05-28 16:21:27 +03:00
Remove test_clang_opt check
The component functions in all.sh will be listed using compgen instead of sed so this check is not needed. Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
This commit is contained in:
parent
34d8bd37d9
commit
53453cf250
@ -194,13 +194,6 @@ pre_initialize_variables () {
|
||||
# they are defined.
|
||||
ALL_COMPONENTS=$(sed -n 's/^ *component_\([0-9A-Z_a-z]*\) *().*/\1/p' <"$0")
|
||||
|
||||
# For Linux platforms we run latest/earliest versions of clang and the
|
||||
# test_clang_opt function is only for FreeBSD. This condition removes
|
||||
# test_clang_opt element from the ALL_COMPONENTS array for Linux.
|
||||
if [[ $(uname) == "Linux" ]]; then
|
||||
ALL_COMPONENTS=( "${ALL_COMPONENTS[@]/test_clang_opt}" )
|
||||
fi
|
||||
|
||||
# Exclude components that are not supported on this platform.
|
||||
SUPPORTED_COMPONENTS=
|
||||
for component in $ALL_COMPONENTS; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user