tool: deprecate board-specific build directories
* Introduces BOARD variable to determine actual board
* Removes formerly deprecated kernel-specific build directories
The following boards are available:
arm_v6: rpi
arm_v7a: arndale, imx53_qsb, imx53_qsb_tz, imx6q_sabrelite, imx7d_sabre,
nit6_solox, odroid_x2, odroid_xu, panda, pbxa9, usb_armory,
wand_quad, zynq_qemu
x86_64: pc, linux, muen
x86_32: pc, linux
riscv: spike
Ref #3316
2019-04-11 14:24:33 +00:00
|
|
|
# local variable for run-tool arguments used for running scenarios in Qemu
|
|
|
|
QEMU_RUN_OPT := --include power_on/qemu --include log/qemu --include image/iso
|
|
|
|
|
2016-12-21 07:16:12 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
## Qemu arguments, effective when using the run tool's 'power_on/qemu' back end
|
|
|
|
##
|
|
|
|
|
|
|
|
# enable GDB stub
|
|
|
|
#QEMU_OPT += -s
|
|
|
|
|
2021-06-27 17:20:32 +00:00
|
|
|
#
|
|
|
|
# Prevent Qemu from using KVM
|
|
|
|
#
|
|
|
|
# Note: On some systems, the '-no-kvm' command-line argument is not included
|
|
|
|
# in 'qemu-system-x86_64', resulting in the error '-no-kvm: invalid option'.
|
|
|
|
# To resolve this issue, comment out or remove the QEMU_OPT line below.
|
|
|
|
#
|
2016-12-21 07:16:12 +00:00
|
|
|
QEMU_OPT += -no-kvm
|
|
|
|
|
2021-06-27 17:20:32 +00:00
|
|
|
# enable KVM full virtualization support in Qemu
|
|
|
|
#QEMU_OPT += -enable-kvm
|
|
|
|
|
2016-12-21 07:16:12 +00:00
|
|
|
# use time-tested graphics backend
|
|
|
|
QEMU_OPT += -display sdl
|
|
|
|
|
|
|
|
# use machine model that supports nested virtualization
|
|
|
|
QEMU_OPT(nova) += -cpu core2duo
|
|
|
|
|
|
|
|
# add kernel-specific Qemu arguments
|
2017-02-02 14:39:46 +00:00
|
|
|
QEMU_OPT += $(QEMU_OPT(${KERNEL}))
|
2016-12-21 07:16:12 +00:00
|
|
|
|