2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
2017-10-27 21:43:34 +08:00
|
|
|
thread.c
|
|
|
|
thread_entry_wrapper.S
|
|
|
|
cpu_idle.S
|
|
|
|
fatal.c
|
|
|
|
fault.c
|
|
|
|
fault_s.S
|
|
|
|
irq_manage.c
|
|
|
|
timestamp.c
|
|
|
|
isr_wrapper.S
|
|
|
|
regular_irq.S
|
2019-06-13 17:21:52 +08:00
|
|
|
switch.S
|
2017-10-27 21:43:34 +08:00
|
|
|
sys_fatal_error_handler.c
|
|
|
|
prep_c.c
|
|
|
|
reset.S
|
|
|
|
vector_table.c
|
|
|
|
)
|
|
|
|
|
2019-06-20 22:39:11 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_FLUSHING cache.c)
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARC_FIRQ fast_irq.S)
|
2017-11-29 16:55:18 +08:00
|
|
|
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library_sources_if_kconfig(irq_offload.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ATOMIC_OPERATIONS_CUSTOM atomic.c)
|
2018-05-22 17:43:13 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_ARC_CORE_MPU mpu)
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
|