2019-06-13 05:30:14 +08:00
|
|
|
# Copyright (c) 2019 Intel Corp.
|
2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
2019-08-24 17:12:38 +08:00
|
|
|
if (CONFIG_COVERAGE)
|
2020-08-18 20:47:53 +08:00
|
|
|
zephyr_compile_options($<TARGET_PROPERTY:compiler,coverage>)
|
|
|
|
zephyr_link_libraries($<TARGET_PROPERTY:linker,coverage>)
|
2019-08-24 17:12:38 +08:00
|
|
|
endif ()
|
2018-08-31 17:38:31 +08:00
|
|
|
|
2019-07-05 11:17:14 +08:00
|
|
|
zephyr_library_sources(cpuhalt.c)
|
2019-09-11 03:18:47 +08:00
|
|
|
zephyr_library_sources(memmap.c)
|
2019-09-29 02:25:13 +08:00
|
|
|
zephyr_library_sources(prep_c.c)
|
2019-11-06 05:42:12 +08:00
|
|
|
zephyr_library_sources(fatal.c)
|
2019-11-20 15:28:17 +08:00
|
|
|
zephyr_library_sources(spec_ctrl.c)
|
2019-09-11 03:18:47 +08:00
|
|
|
|
2020-07-31 19:52:40 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_PCIE pcie.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_REBOOT_RST_CNT reboot_rst_cnt.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MULTIBOOT multiboot.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ACPI acpi.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_X86_MMU x86_mmu.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.c)
|
2019-09-11 03:18:47 +08:00
|
|
|
|
2019-08-02 04:04:53 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_X86_VERY_EARLY_CONSOLE early_serial.c)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2020-09-29 02:30:50 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
|
|
|
|
2019-10-25 03:57:57 +08:00
|
|
|
if(CONFIG_X86_64)
|
2019-06-26 00:36:17 +08:00
|
|
|
include(intel64.cmake)
|
2019-06-13 05:30:14 +08:00
|
|
|
else()
|
|
|
|
include(ia32.cmake)
|
|
|
|
endif()
|