2019-04-06 15:08:09 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-03-28 12:00:20 +02:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
2019-10-24 17:08:21 +02: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
|
|
|
|
switch.S
|
|
|
|
prep_c.c
|
|
|
|
reset.S
|
|
|
|
vector_table.c
|
|
|
|
)
|
2017-10-27 15:43:34 +02:00
|
|
|
|
2022-10-05 10:08:29 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARCH_CACHE cache.c)
|
2018-03-28 12:00:20 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARC_FIRQ fast_irq.S)
|
2017-11-29 09:55:18 +01:00
|
|
|
|
2020-07-31 13:52:40 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD irq_offload.c)
|
2019-10-24 17:08:21 +02:00
|
|
|
|
2018-03-28 12:00:20 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
|
2019-07-24 11:47:29 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARC_CONNECT arc_connect.c)
|
2023-12-13 20:25:18 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARC_CONNECT smp.c)
|
2019-10-24 17:08:21 +02:00
|
|
|
|
2020-10-30 18:21:40 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
|
|
|
|
2019-10-24 17:08:21 +02:00
|
|
|
add_subdirectory_ifdef(CONFIG_ARC_CORE_MPU mpu)
|
|
|
|
add_subdirectory_ifdef(CONFIG_ARC_SECURE_FIRMWARE secureshield)
|
2019-11-29 09:22:13 +01:00
|
|
|
|
2020-01-17 14:36:19 +01:00
|
|
|
zephyr_linker_sources(ROM_START SORT_KEY 0x0vectors vector_table.ld)
|