Skip to content

Commit c509710

Browse files
tejlmandgalak
authored andcommitted
mbedtls: kconfig: MBEDTLS_USER_CONFIG_FILE default without a prompt
This commit removes the prompt from MBEDTLS_USER_CONFIG_FILE unless MBEDTLS_USER_CONFIG_ENABLE is true. This fixes issues where other parts would specify a default value for MBEDTLS_USER_CONFIG_FILE that would become stuck and not updated if user re-configured the system using menuconfig. Disabling the prompt ensures that only when a user specifically enables MBEDTLS_USER_CONFIG_ENABLE and specify a custom user value in MBEDTLS_USER_CONFIG_FILE the setting will be fixed. Also updates the manifest with related change in the mbedtls project. Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 4b4dd22 commit c509710

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/mbedtls/Kconfig.tls-generic

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,7 @@ config MBEDTLS_USER_CONFIG_ENABLE
338338
the generic config file.
339339

340340
config MBEDTLS_USER_CONFIG_FILE
341-
string "User configuration file for mbedTLS"
342-
depends on MBEDTLS_USER_CONFIG_ENABLE
341+
string "User configuration file for mbed TLS" if MBEDTLS_USER_CONFIG_ENABLE
343342
help
344343
User config file that can contain mbedTLS configs that were not
345344
covered by the generic config file.

0 commit comments

Comments
 (0)