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()
|
|
|
|
|
2018-08-31 17:38:31 +08:00
|
|
|
zephyr_compile_options_ifdef(CONFIG_COVERAGE_GCOV
|
|
|
|
-ftest-coverage
|
|
|
|
-fprofile-arcs
|
2019-03-23 04:32:11 +08:00
|
|
|
-fno-inline
|
2018-08-31 17:38:31 +08:00
|
|
|
)
|
|
|
|
|
2019-06-13 05:30:14 +08:00
|
|
|
zephyr_library_sources_if_kconfig(pcie.c)
|
|
|
|
zephyr_library_sources_if_kconfig(reboot_rst_cnt.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_X86_MULTIBOOT multiboot.c)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2019-06-13 05:30:14 +08:00
|
|
|
if(CONFIG_X86_LONGMODE)
|
|
|
|
include(x64.cmake)
|
|
|
|
else()
|
|
|
|
include(ia32.cmake)
|
|
|
|
endif()
|
2017-10-27 21:43:34 +08:00
|
|
|
|