feat(qemu): ✨ Generate QEMU logs
This commit is contained in:
parent
9b35283ca6
commit
97fc7f6b3d
|
@ -5,3 +5,4 @@
|
||||||
target/
|
target/
|
||||||
kernel8*
|
kernel8*
|
||||||
.gdb_history
|
.gdb_history
|
||||||
|
qemu.log
|
||||||
|
|
|
@ -103,7 +103,8 @@ dependencies = ["build-qemu", "kernel-binary"]
|
||||||
env = { "TARGET_FEATURES" = "${QEMU_FEATURES}" }
|
env = { "TARGET_FEATURES" = "${QEMU_FEATURES}" }
|
||||||
script = [
|
script = [
|
||||||
"echo Run QEMU ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} with ${KERNEL_BIN}",
|
"echo Run QEMU ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} with ${KERNEL_BIN}",
|
||||||
"${QEMU} ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} -dtb ${TARGET_DTB} -kernel ${KERNEL_BIN}"
|
"rm -f qemu.log",
|
||||||
|
"${QEMU} ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} -dtb ${TARGET_DTB} -kernel ${KERNEL_BIN} 2>&1 | tee qemu.log"
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.expand]
|
[tasks.expand]
|
||||||
|
|
Loading…
Reference in New Issue