mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +00:00
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:
parent
e4c6955e43
commit
36571d6d8a
@ -38,18 +38,14 @@ def is_boolean_setting(name, value):
|
|||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def realfull_adapter(_name, _value, active, section):
|
def realfull_adapter(_name, _value, _active, _section):
|
||||||
"""Activate all symbols found in the global and boolean feature sections.
|
"""Activate all symbols.
|
||||||
|
|
||||||
This is intended for building the documentation, including the
|
This is intended for building the documentation, including the
|
||||||
documentation of settings that are activated by defining an optional
|
documentation of settings that are activated by defining an optional
|
||||||
preprocessor macro.
|
preprocessor macro. There is no expectation that the resulting
|
||||||
|
configuration can be built.
|
||||||
Do not activate definitions in the section containing symbols that are
|
|
||||||
supposed to be defined and documented in their own module.
|
|
||||||
"""
|
"""
|
||||||
if section == 'Module configuration options':
|
|
||||||
return active
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
PSA_UNSUPPORTED_FEATURE = frozenset([
|
PSA_UNSUPPORTED_FEATURE = frozenset([
|
||||||
|
Loading…
Reference in New Issue
Block a user