From 4ad408da5928d9324b0b9643171040ab9df7d756 Mon Sep 17 00:00:00 2001 From: Jan Beran Date: Tue, 14 Apr 2026 11:38:03 +0200 Subject: [PATCH] fix(kconfig): add KCONFIG_PROMPTLESS_NO_WARN to config.env.in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some config options, like IDF_TARGET, are present in sdkconfig.defaults even though they are promptless. The build system handles them manually and passes them to esp-idf-kconfig via config.env. However, esp-idf-kconfig reports them like a normal promptless symbol, which causes confusion. This commit adds KCONFIG_PROMPTLESS_NO_WARN — a semicolon-separated list of config option names that, even though promptless, should be excluded from the report. Closes https://github.com/espressif/esp-idf/issues/18441 --- tools/kconfig_new/config.env.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/kconfig_new/config.env.in b/tools/kconfig_new/config.env.in index 962f02e4b86..f774ed5aecc 100644 --- a/tools/kconfig_new/config.env.in +++ b/tools/kconfig_new/config.env.in @@ -8,5 +8,6 @@ "IDF_ENV_FPGA": "${idf_env_fpga}", "IDF_PATH": "${idf_path}", "COMPONENT_KCONFIGS_SOURCE_FILE": "${kconfigs_path}", - "COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE": "${kconfigs_projbuild_path}" + "COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE": "${kconfigs_projbuild_path}", + "KCONFIG_PROMPTLESS_NO_WARN":"IDF_TARGET" }