Change "realfull" to activate everything

Change "realfull" to activate everything. After investigation, it seems that
having "realfull" not activate everything was a historical oddity due to
proximity with "full", not a goal in itself.

https://github.com/Mbed-TLS/mbedtls/issues/520#issuecomment-727190862
https://github.com/Mbed-TLS/mbedtls/pull/965/files#r523409092

This changes the output of `scripts/config.py realfull`: now all non-boolean
options are uncommented.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2024-09-19 19:58:56 +02:00
parent e4c6955e43
commit 36571d6d8a

View File

@ -38,18 +38,14 @@ def is_boolean_setting(name, value):
return True
return False
def realfull_adapter(_name, _value, active, section):
"""Activate all symbols found in the global and boolean feature sections.
def realfull_adapter(_name, _value, _active, _section):
"""Activate all symbols.
This is intended for building the documentation, including the
documentation of settings that are activated by defining an optional
preprocessor macro.
Do not activate definitions in the section containing symbols that are
supposed to be defined and documented in their own module.
preprocessor macro. There is no expectation that the resulting
configuration can be built.
"""
if section == 'Module configuration options':
return active
return True
PSA_UNSUPPORTED_FEATURE = frozenset([