mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
0771bd1711
eh_frame_parser is architecture independent, thus the files have been rearchitectured. Some bugs have been fixed in the test. A README file has also been added to eh_frame_parser host test directory. eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr table (missing DWARF information). Fix a bug occuring when parsing backtraces originated from abort(). Fix build missing dependencies issue.
17 lines
511 B
CMake
17 lines
511 B
CMake
set(INCLUDE_FILES "include" . include PUBLIC soc)
|
|
|
|
if(CONFIG_IDF_TARGET_ARCH_RISCV)
|
|
list(APPEND INCLUDE_FILES "include/riscv")
|
|
endif()
|
|
|
|
target_include_directories(${COMPONENT_LIB} PRIVATE ${INCLUDE_FILES})
|
|
target_include_directories(${COMPONENT_LIB} PUBLIC public_compat)
|
|
|
|
set(srcs "cpu_start.c" "panic_handler.c" "brownout.c")
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE ${srcs})
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
add_subdirectory(soc/${target})
|