mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(ulp): build legacy ULP APIs through CMake v2 shim
This commit is contained in:
@@ -1111,6 +1111,10 @@ function(idf_component_include name)
|
||||
target_link_options("${component_interface}" INTERFACE
|
||||
"SHELL:-Wl,-force_load $<TARGET_FILE:${component_real_target}>")
|
||||
target_link_libraries("${component_interface}" INTERFACE "${component_real_target}")
|
||||
elseif(linker_type STREQUAL "ULP_FSM")
|
||||
target_link_options("${component_interface}" INTERFACE
|
||||
"SHELL:--whole-archive $<TARGET_FILE:${component_real_target}> --no-whole-archive")
|
||||
target_link_libraries("${component_interface}" INTERFACE "${component_real_target}")
|
||||
endif()
|
||||
else()
|
||||
target_link_libraries("${component_interface}" INTERFACE "${component_real_target}")
|
||||
|
||||
@@ -170,6 +170,11 @@ function(__component_validation_run_checks)
|
||||
|
||||
# Run validation checks for each component
|
||||
foreach(component_interface ${component_interfaces})
|
||||
__idf_component_get_property_unchecked(skip_path_ownership_validation ${component_interface}
|
||||
__SKIP_COMPONENT_PATH_OWNERSHIP_VALIDATION)
|
||||
if(skip_path_ownership_validation)
|
||||
continue()
|
||||
endif()
|
||||
__component_validation_check_sources(${component_interface})
|
||||
__component_validation_check_include_dirs(${component_interface})
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user