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 <minos.galanakis@arm.com>
This commit is contained in:
Minos Galanakis 2024-09-26 14:41:41 +01:00
parent a17ffc7a0b
commit a4a37372a0

View File

@ -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: