mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
19 lines
499 B
CMake
19 lines
499 B
CMake
if(NOT BOOTLOADER_BUILD)
|
|
set(COMPONENT_SRCS "eri.c")
|
|
if(IDF_TARGET STREQUAL "esp32")
|
|
list(APPEND COMPONENT_SRCS "trax.c")
|
|
endif()
|
|
list(APPEND COMPONENT_SRCS "stdatomic.c")
|
|
endif()
|
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include" "${IDF_TARGET}/include")
|
|
|
|
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
|
|
set(COMPONENT_PRIV_REQUIRES soc)
|
|
|
|
register_component()
|
|
|
|
if (NOT BOOTLOADER_BUILD)
|
|
target_link_libraries(${COMPONENT_LIB} "${CMAKE_CURRENT_SOURCE_DIR}/${IDF_TARGET}/libhal.a")
|
|
endif()
|