esp-idf/components/bootloader/subproject/main/CMakeLists.txt

10 lines
326 B
CMake
Raw Normal View History

2018-09-10 21:44:12 -04:00
set(COMPONENT_SRCS "bootloader_start.c")
set(COMPONENT_ADD_INCLUDEDIRS "")
set(COMPONENT_REQUIRES bootloader bootloader_support)
2018-09-10 21:44:12 -04:00
register_component()
idf_build_get_property(target IDF_TARGET)
set(scripts "${target}.bootloader.ld"
"${target}.bootloader.rom.ld")
target_linker_script(${COMPONENT_LIB} "${scripts}")