Skip to content

Commit 75b3426

Browse files
committed
sysbuild: Hide child/parent Kconfig options
Disables configuration options for child/parent images Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent d943ae3 commit 75b3426

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Kconfig.nrf

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2018 Nordic Semiconductor
2+
# Copyright (c) 2018-2023 Nordic Semiconductor
33
#
44
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
#
@@ -28,6 +28,12 @@ endif # BUILD_WITH_TFM
2828

2929
menu "Nordic nRF Connect"
3030

31+
# Hides child parent configuration options
32+
config HIDE_CHILD_PARENT_CONFIG
33+
bool
34+
default y if "$(HIDE_CHILD_PARENT_CONFIG)" = "True"
35+
default n
36+
3137
# Override boot banner
3238
config BOOT_BANNER_STRING
3339
default "Booting nRF Connect SDK"

subsys/partition_manager/Kconfig.template.build_strategy

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
if !HIDE_CHILD_PARENT_CONFIG
2+
13
choice
24
prompt "$(module) build strategy"
35
default $(module)_BUILD_STRATEGY_FROM_SOURCE
@@ -28,3 +30,5 @@ config $(module)_BUILD_STRATEGY_FROM_SOURCE
2830
select PARTITION_MANAGER_ENABLED
2931

3032
endchoice
33+
34+
endif

0 commit comments

Comments
 (0)