From 3e36d75ebada647343b1086acc3dbf4154defb2a Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Wed, 13 Aug 2025 19:35:25 +0200 Subject: [PATCH] feat(Kconfig): source configuration for components not included in the build Introduce new configuration menus for components that are not part of the build. These menus will only be visible if the IDF_BUILD_V2 environment variable is defined and it will be set only in cmakev2. This enables sharing of the root Kconfig file between cmakev1 and cmakev2. Signed-off-by: Frantisek Hrbata --- Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Kconfig b/Kconfig index 6ed57da043d..222c4427eea 100644 --- a/Kconfig +++ b/Kconfig @@ -721,6 +721,17 @@ mainmenu "Espressif IoT Development Framework Configuration" depends on "${IDF_MINIMAL_BUILD}" source "$COMPONENT_KCONFIGS_SOURCE_FILE" + + menu "Configuration for components not included in the build" + depends on "${IDF_BUILD_V2}" + osource "$COMPONENT_KCONFIGS_EXCLUDED_SOURCE_FILE" + endmenu + + endmenu + + menu "Configuration for components not included in the build" + depends on "${IDF_BUILD_V2}" + osource "$COMPONENT_KCONFIGS_PROJBUILD_EXCLUDED_SOURCE_FILE" endmenu config IDF_EXPERIMENTAL_FEATURES