mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(cmakev2/kconfig): do not automatically generate the kconfig_menus.json file
Currently, when the initial sdkconfig is generated, the kconfig_menus.json format is also created alongside other formats like CMake, JSON, or C header. The kconfig_menus.json depends on the Kconfig hierarchy and cannot be generated globally. It must be generated for each executable to ensure that included and excluded components are correctly positioned within the Kconfig menu hierarchy. Remove the automatic generation of kconfig_menus.json. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -525,7 +525,6 @@ function(__generate_kconfig_outputs)
|
||||
set(sdkconfig_header "${config_dir}/sdkconfig.h")
|
||||
set(sdkconfig_cmake "${config_dir}/sdkconfig.cmake")
|
||||
set(sdkconfig_json "${config_dir}/sdkconfig.json")
|
||||
set(sdkconfig_json_menus "${config_dir}/kconfig_menus.json")
|
||||
|
||||
# Create and store base kconfgen command for this generation and target reuse
|
||||
__create_base_kconfgen_command("${sdkconfig}" "${sdkconfig_defaults}")
|
||||
@@ -535,7 +534,6 @@ function(__generate_kconfig_outputs)
|
||||
--output header "${sdkconfig_header}"
|
||||
--output cmake "${sdkconfig_cmake}"
|
||||
--output json "${sdkconfig_json}"
|
||||
--output json_menus "${sdkconfig_json_menus}"
|
||||
--output config "${sdkconfig}"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user