Skip to content

Commit

Permalink
mgmt: fmfu: Hide MGMT_FMFU logging options when not enabled
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rugeGerritsen authored and rlubos committed Feb 6, 2025
1 parent c8bf20c commit 529429b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subsys/mgmt/fmfu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ config MGMT_FMFU
depends on MCUMGR
depends on NRF_MODEM_LIB

if MGMT_FMFU

module=MGMT_FMFU
module-dep=LOG
module-str=FMFU
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"

endif
endmenu

0 comments on commit 529429b

Please sign in to comment.