Skip to content

Commit 461f5ed

Browse files
lemreyrlubos
authored andcommitted
kconfig: put NCS_IS_VARIANT_IMAGE and NCS_MCUBOOT_IN_BUILD in a menu
These symbols are only set via CMake, and they need a prompt. Put them in a separate menu so they are separated from other entries, and don't clutter the top-level Kconfig menu. Signed-off-by: Emanuele Di Santo <[email protected]>
1 parent d128989 commit 461f5ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

samples/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,19 @@ config LOG_DEFAULT_LEVEL
100100

101101
endif # LOG
102102

103+
menu "Image build variants"
104+
105+
# These are set by CMake, and they need a prompt.
106+
# Keep them in a separate menu to avoid cluttering the top-level menu
107+
103108
config NCS_IS_VARIANT_IMAGE
104109
bool "Image is a variant build of another image [READ ONLY]"
110+
help
111+
Image is a variant build of another image.
105112

106113
config NCS_MCUBOOT_IN_BUILD
107114
bool "MCUBoot is included in the build [READ ONLY]"
108115
help
109116
Helper option used to communicate to child images that MCUboot is included in the build.
117+
118+
endmenu

0 commit comments

Comments
 (0)