mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(cmakev2): Build must include component manager output when re-run is expected
The build system should include the file generated by the component manager after downloading components even if the component manager requested a re-run due to a missing Kconfig.
This commit is contained in:
committed by
Frantisek Hrbata
parent
f284381225
commit
dbe893865c
@@ -191,8 +191,11 @@ function(__download_component_level_managed_components)
|
||||
endif()
|
||||
|
||||
# Initialize managed components by including the generated list
|
||||
if(result EQUAL 0)
|
||||
# Include components even if result is 10 (missing kconfig) to allow kconfig regeneration
|
||||
if(result EQUAL 0 OR result EQUAL 10)
|
||||
include(${managed_components_list_file})
|
||||
else()
|
||||
idf_warn("Component manager returned unexpected result: ${result}. Managed components will not be included.")
|
||||
endif()
|
||||
|
||||
# Clean up temporary files
|
||||
|
||||
Reference in New Issue
Block a user