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

10 lines
336 B
CMake
Raw Normal View History

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