Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nrf_security: Fix kconfig extension macro inconsistent configuration
Fix the kconfig_check_and_set_base_to_val_depends extension macro creating an inconsistent configuration. This macro sets the base name to, but not the kconfig name. For example: 'kconfig_check_and_set_base_to_val_depends(MBEDTLS_EXAMPLE_ALG, PSA_WANT_EXAMPLE_ALG)' can create this inconsistentency: CONFIG_PSA_WANT_EXAMPLE_ALG: true MBEDTLS_EXAMPLE_ALG: true CONFIG_MBEDTLS_EXAMPLE_ALG: false This means that the macro cannot be used to check a series of chained dependencies. Make sure that the macro modifies the value of both the base and the kconfig variable. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
- Loading branch information