2019-06-12 23:30:14 +02:00
|
|
|
# Copyright (c) 2019 Intel Corp.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-07-04 22:49:06 +02:00
|
|
|
#
|
|
|
|
# XXX: When using the Intel toolchain, cmake doesn't recognize .S files
|
|
|
|
# automatically, and I can't be bothered to figure out how to fix this.
|
|
|
|
#
|
|
|
|
|
|
|
|
set_property(SOURCE intel64/locore.S PROPERTY LANGUAGE ASM)
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
|
|
|
intel64/locore.S
|
2019-09-29 02:52:07 +02:00
|
|
|
intel64/cpu.c
|
2019-07-15 22:18:36 +02:00
|
|
|
intel64/irq.c
|
2019-07-04 22:49:06 +02:00
|
|
|
intel64/thread.c
|
2019-07-15 22:18:36 +02:00
|
|
|
intel64/fatal.c
|
2019-07-04 22:49:06 +02:00
|
|
|
)
|
2023-12-13 23:51:31 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SMP intel64/smp.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD intel64/irq_offload.c)
|
2019-12-18 23:30:41 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE intel64/userspace.S)
|
2023-08-03 06:32:26 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE intel64/tls.c)
|
2020-08-14 04:18:52 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP intel64/coredump.c)
|