zephyr/arch/xtensa/core/CMakeLists.txt

23 lines
387 B
CMake
Raw Normal View History

zephyr_cc_option(-mlongcalls)
zephyr_sources(
cpu_idle.c
fatal.c
irq_manage.c
swap.S
thread.c
xtensa_context.S
xtensa_intr_asm.S
xtensa_intr.c
xtensa_vectors.S
xt_zephyr.S
)
zephyr_sources_ifndef(CONFIG_ATOMIC_OPERATIONS_C atomic.S)
zephyr_sources_ifdef(CONFIG_XTENSA_USE_CORE_CRT1
crt1.S
)
zephyr_sources_ifdef(CONFIG_IRQ_OFFLOAD
irq_offload.c
)
add_subdirectory(startup)