2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2015-12-13 18:54:28 +08:00
|
|
|
if BOARD_QEMU_X86
|
|
|
|
|
2017-11-23 02:03:53 +08:00
|
|
|
|
|
|
|
config BUILD_OUTPUT_BIN
|
|
|
|
default n
|
|
|
|
|
2015-12-13 18:54:28 +08:00
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "qemu_x86"
|
2015-12-13 18:54:28 +08:00
|
|
|
|
|
|
|
endif # BOARD_QEMU_X86
|
2019-03-13 06:10:41 +08:00
|
|
|
|
|
|
|
if BOARD_QEMU_X86_IAMCU
|
|
|
|
|
|
|
|
config BUILD_OUTPUT_BIN
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "qemu_x86_iamcu"
|
|
|
|
|
|
|
|
# Enabled here because IAMCU targets run on some Quark CPUs that are immune to
|
|
|
|
# these attacks, and the compiler doesn't even recognize instructions like
|
|
|
|
# 'lfence'
|
|
|
|
# We set this here because the QEMU targets derive from the generic IA32 SOC
|
|
|
|
# definition and not a specific CPU; this is normally set at the SOC level.
|
|
|
|
config X86_NO_SPECULATIVE_VULNERABILITIES
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # BOARD_QEMU_X86_IAMCU
|