feat(qemu): Print QEMU run options

This commit is contained in:
Berkus Decker 2022-09-09 00:23:14 +03:00 committed by Berkus Decker
parent 97ef3d355f
commit 61762ccbf6
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ script_runner = "@duckscript"
script = [
'''
binaryFile = basename ${CARGO_MAKE_TASK_ARGS}
echo Run QEMU %{QEMU_OPTS} %{QEMU_TESTS_OPTS} with target/${binaryFile}.bin
exec --fail-on-error ${QEMU} %{QEMU_OPTS} %{QEMU_TESTS_OPTS} -dtb ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/targets/bcm2710-rpi-3-b-plus.dtb -kernel ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target/${binaryFile}.bin
'''
]