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)
|
|
|
|
toolchain_cc_coverage()
|
|
|
|
endif ()
|
2018-08-31 17:38:31 +08:00
|
|
|
|
2019-07-05 11:17:14 +08:00
|
|
|
zephyr_library_sources(cpuhalt.c)
|
2019-06-13 05:30:14 +08:00
|
|
|
zephyr_library_sources_if_kconfig(pcie.c)
|
|
|
|
zephyr_library_sources_if_kconfig(reboot_rst_cnt.c)
|
2019-09-07 03:03:38 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_X86_ACPI acpi.c)
|
2019-06-13 05:30:14 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_X86_MULTIBOOT multiboot.c)
|
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
|
|
|
|
2019-06-13 05:30:14 +08:00
|
|
|
if(CONFIG_X86_LONGMODE)
|
2019-06-26 00:36:17 +08:00
|
|
|
include(intel64.cmake)
|
2019-06-13 05:30:14 +08:00
|
|
|
else()
|
|
|
|
include(ia32.cmake)
|
|
|
|
endif()
|
2017-10-27 21:43:34 +08:00
|
|
|
|