Skip to content

Commit 529429b

Browse files
rugeGerritsenrlubos
authored andcommitted
mgmt: fmfu: Hide MGMT_FMFU logging options when not enabled
When building an application we don't want CONFIG_MGMT_FMFU_LOG_LEVEL_DEFAULT to turn up in the generated .config file unless CONFIG_MGMT_FMFU is enabled. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
1 parent c8bf20c commit 529429b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

subsys/mgmt/fmfu/Kconfig

+4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ config MGMT_FMFU
1212
depends on MCUMGR
1313
depends on NRF_MODEM_LIB
1414

15+
if MGMT_FMFU
16+
1517
module=MGMT_FMFU
1618
module-dep=LOG
1719
module-str=FMFU
1820
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
21+
22+
endif
1923
endmenu

0 commit comments

Comments
 (0)