# local variable for run-tool arguments used for running scenarios in Qemu
QEMU_RUN_OPT := --include power_on/qemu  --include log/qemu

# kernel to use (hw, foc, or sel4)
#KERNEL ?= hw

# board to use (rpi3, imx8q_evk, virt_qemu)
#BOARD ?= rpi3

# local variable for run-tool arguments that depend on the used board
BOARD_RUN_OPT(rpi3)      := $(QEMU_RUN_OPT)
BOARD_RUN_OPT(virt_qemu) := $(QEMU_RUN_OPT)

##
## Qemu arguments, effective when using the run tool's 'power_on/qemu' back end
##

# enable GDB stub
#QEMU_OPT += -s

# use time-tested graphics backend
QEMU_OPT += -display sdl

# add kernel-specific Qemu arguments
QEMU_OPT += $(QEMU_OPT(${KERNEL}))

