Fix PSA macro identification regexp
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
diff --git a/scripts/config.py b/scripts/config.py
index 9e546f7..1027f2c 100755
--- a/scripts/config.py
+++ b/scripts/config.py
@@ -397,7 +397,7 @@
for configfile in [self.mbedtls_configfile, self.crypto_configfile]
for (active, name, value, section) in configfile.parse_file()})
- _crypto_regexp = re.compile(r'$PSA_.*')
+ _crypto_regexp = re.compile(r'^PSA_.*')
def _get_configfile(self, name=None):
"""Find a config type for a setting name"""