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
|
|
|
|
|
|
|
|
# prevent Qemu from using KVM
|
|
|
|
QEMU_OPT += -no-kvm
|
|
|
|
|
|
|
|
# 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
|
|
|
|