mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
61f79cbf9c
refactor/soc: Move peripheral linker scripts out of target component Closes IDF-3580 See merge request espressif/esp-idf!14474
10 lines
348 B
CMake
10 lines
348 B
CMake
idf_component_register(SRCS "lldesc.c"
|
|
"soc_include_legacy_warn.c"
|
|
INCLUDE_DIRS include
|
|
LDFRAGMENTS "linker.lf")
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
add_subdirectory(${target})
|
|
|
|
target_linker_script(${COMPONENT_LIB} INTERFACE "${target}/ld/${target}.peripherals.ld")
|