From a4a37372a097c803ccafbff7c4f8456d84f44b61 Mon Sep 17 00:00:00 2001 From: Minos Galanakis Date: Thu, 26 Sep 2024 14:41:41 +0100 Subject: [PATCH] config.py: Do not set default entry for tf-psa-crypto config. Both type of config entries, boolean and value containing reside in tf-psa-crypto confing files. A default value will now be set only for PSA_WANT_X symbols. Signed-off-by: Minos Galanakis --- scripts/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.py b/scripts/config.py index 69ee3ef50e..9e546f7671 100755 --- a/scripts/config.py +++ b/scripts/config.py @@ -420,7 +420,7 @@ class CombinedConfig(config_common.Config): raise ValueError(f'Feature is unstable: \'{name}\'') # The default value in the crypto config is '1' - if not value: + if not value and re.match(self._crypto_regexp, name): value = '1' if name not in self.settings: