mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
feat(cmakev2/component): add __PREFIX component property in __init_component()
The cmakev1 sets __PREFIX as a component property. To maintain backward compatibility, set it in cmakev2 as well. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -433,6 +433,7 @@ function(__init_component)
|
||||
idf_component_set_property("${component_name}" COMPONENT_INTERFACE "${component_interface}")
|
||||
idf_component_set_property("${component_name}" COMPONENT_PRIORITY ${component_priority})
|
||||
idf_component_set_property("${component_name}" COMPONENT_INCLUDED NO)
|
||||
idf_component_set_property("${component_name}" __PREFIX "${ARG_PREFIX}")
|
||||
|
||||
# Set component properties for Kconfig files.
|
||||
idf_component_set_property("${component_name}" __KCONFIG "${component_kconfig}")
|
||||
|
||||
Reference in New Issue
Block a user