1set(srcs "highint_hdl.S" 2 "clk.c" 3 "reset_reason.c" 4 "system_internal.c" 5 "cache_err_int.c" 6 "apb_backup_dma.c" 7 "../../arch/xtensa/panic_arch.c" 8 "../../arch/xtensa/panic_handler_asm.S" 9 "../../arch/xtensa/expression_with_stack.c" 10 "../../arch/xtensa/expression_with_stack_asm.S" 11 "../../arch/xtensa/debug_helpers.c" 12 "../../arch/xtensa/debug_helpers_asm.S" 13 "../../arch/xtensa/debug_stubs.c" 14 "../../arch/xtensa/trax.c" 15 ) 16 17if(CONFIG_ESP_IPC_ISR_ENABLE) 18 list(APPEND srcs "../../arch/xtensa/esp_ipc_isr.c" 19 "../../arch/xtensa/esp_ipc_isr_handler.S" 20 "../../arch/xtensa/esp_ipc_isr_routines.S") 21endif() 22 23add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs}) 24 25target_sources(${COMPONENT_LIB} PRIVATE ${srcs}) 26 27#ld_include_highint_hdl is added as an undefined symbol because otherwise the 28#linker will ignore panic_highint_hdl.S as it has no other files depending on any 29#symbols in it. 30set_property(TARGET ${COMPONENT_LIB} APPEND PROPERTY INTERFACE_LINK_LIBRARIES "-u ld_include_highint_hdl") 31