mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(ulp): clarify buildv2 child marker
Rename the internal ULP child-build marker to __ULP_BUILDV2 so component CMake files make the build-system scope explicit. Document that the marker is currently set only by the IDF_BUILD_V2 ULP child path.
This commit is contained in:
@@ -14,8 +14,8 @@ list(APPEND includes "include")
|
||||
|
||||
# ULP runtime code includes generic HAL headers, for example hal/lp_core_ll.h
|
||||
# from ulp/lp_core/lp_core/lp_core_interrupt.c.
|
||||
# TODO(IDF-15953): potentially remove __ULP_BUILD handling from hal
|
||||
if(__ULP_BUILD)
|
||||
# TODO(IDF-15953): potentially remove __ULP_BUILDV2 handling from hal
|
||||
if(__ULP_BUILDV2)
|
||||
idf_component_register(INCLUDE_DIRS ${includes}
|
||||
PRIV_INCLUDE_DIRS ${priv_include}
|
||||
REQUIRES esp_common ${requires})
|
||||
|
||||
Reference in New Issue
Block a user