From b248b50c2da8e8cb3b969cac6246ad9fe147da5c Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 14 Jan 2025 09:11:27 +0100 Subject: [PATCH] config.py: Simplify crypto config default path setting In 3.6, it can be only include/psa/crypto_config.h Signed-off-by: Ronald Cron --- scripts/config.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/config.py b/scripts/config.py index 957127e5d4..47d74ceae5 100755 --- a/scripts/config.py +++ b/scripts/config.py @@ -286,11 +286,7 @@ class CryptoConfigFile(config_common.ConfigFile): # Temporary, while Mbed TLS does not just rely on the TF-PSA-Crypto # build system to build its crypto library. When it does, the # condition can just be removed. - _path_in_tree = ('include/psa/crypto_config.h' - if not os.path.isdir(os.path.join(os.path.dirname(__file__), - os.pardir, - 'tf-psa-crypto')) else - 'tf-psa-crypto/include/psa/crypto_config.h') + _path_in_tree = 'include/psa/crypto_config.h' default_path = [_path_in_tree, os.path.join(os.path.dirname(__file__), os.pardir,