logging: Fix string stripping Kconfig option dependency

Change to depend on LOG_DICTIONARY_DB which is broader than
LOG_DICTIONARY_SUPPORT which is set only when log_output
supports dictionary mode. However, it is possible that
log_output is not used when dictionary mode is used. Database
generation is always enabled when dictionary mode is used.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-04-29 11:03:12 +02:00 committed by Anas Nashif
parent 7df2d54685
commit dd38a2ccde

View file

@ -58,7 +58,7 @@ config LOG_FMT_SECTION
config LOG_FMT_SECTION_STRIP
bool "Strip log strings from binary"
depends on LOG_DICTIONARY_SUPPORT
depends on LOG_DICTIONARY_DB
depends on LOG_FMT_SECTION
depends on LINKER_DEVNULL_SUPPORT
depends on !LOG_ALWAYS_RUNTIME