2019-06-13 05:30:14 +08:00
|
|
|
# Copyright (c) 2019 Intel Corp.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-07-05 04:49:06 +08: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 08:52:07 +08:00
|
|
|
intel64/cpu.c
|
2019-07-16 04:18:36 +08:00
|
|
|
intel64/irq.c
|
2019-07-05 04:49:06 +08:00
|
|
|
intel64/thread.c
|
2019-07-16 04:18:36 +08:00
|
|
|
intel64/fatal.c
|
2019-07-05 04:49:06 +08:00
|
|
|
)
|
2019-12-19 06:30:41 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE intel64/userspace.S)
|
2020-08-14 10:18:52 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP intel64/coredump.c)
|