From 2483870f79a3f4c4da2ff11f61d7a9d9d40afa2c Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 15 Dec 2023 09:35:22 +0000 Subject: [PATCH] [nrf noup] cmake: modules: kconfig: Add hide child/parent variable Adds a variable to Kconfig which, when set, will disable showing child/parent Kconfig values in builds (enabled when Sysbuild is used) Signed-off-by: Jamie McCrae (cherry picked from commit 391567a66236c0f83f17c3750d00e73c2c6e48c8) --- cmake/modules/kconfig.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/kconfig.cmake b/cmake/modules/kconfig.cmake index 377aa0d11e1..43e73511768 100644 --- a/cmake/modules/kconfig.cmake +++ b/cmake/modules/kconfig.cmake @@ -171,6 +171,7 @@ set(COMMON_KCONFIG_ENV_SETTINGS TOOLCHAIN_KCONFIG_DIR=${TOOLCHAIN_KCONFIG_DIR} TOOLCHAIN_HAS_NEWLIB=${_local_TOOLCHAIN_HAS_NEWLIB} TOOLCHAIN_HAS_PICOLIBC=${_local_TOOLCHAIN_HAS_PICOLIBC} + HIDE_CHILD_PARENT_CONFIG=${SYSBUILD} EDT_PICKLE=${EDT_PICKLE} # Export all Zephyr modules to Kconfig ${ZEPHYR_KCONFIG_MODULES_DIR}