Added optional debug mode that sends qemu output to a file.
This commit is contained in:
parent
908297007d
commit
ada7e292f8
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,4 +5,5 @@ isodir/
|
|||||||
*.bin
|
*.bin
|
||||||
serial.log
|
serial.log
|
||||||
nakefile
|
nakefile
|
||||||
|
log.txt
|
||||||
|
|
||||||
|
@ -57,6 +57,13 @@ task "debug", "Runs the operating system using QEMU with debug build and flags."
|
|||||||
echo "Running in Qemu."
|
echo "Running in Qemu."
|
||||||
direShell("qemu-system-i386 -drive format=raw,file=" & outputIso ,"-serial stdio -no-reboot -no-shutdown -d int,cpu_reset")
|
direShell("qemu-system-i386 -drive format=raw,file=" & outputIso ,"-serial stdio -no-reboot -no-shutdown -d int,cpu_reset")
|
||||||
|
|
||||||
|
task "debug-log", "Runs the operating system using QEMU with debug build and flags, logs to file.":
|
||||||
|
runTask("build")
|
||||||
|
runTask("build-disc")
|
||||||
|
echo "Running in Qemu."
|
||||||
|
removeFile("log.txt")
|
||||||
|
direShell("qemu-system-i386 -drive format=raw,file=" & outputIso ,"-serial stdio -no-reboot -no-shutdown -d int,cpu_reset &> log.txt")
|
||||||
|
|
||||||
task "run", "Runs the operating system using QEMU.":
|
task "run", "Runs the operating system using QEMU.":
|
||||||
runTask("build-release")
|
runTask("build-release")
|
||||||
runTask("build-disc")
|
runTask("build-disc")
|
||||||
|
Loading…
Reference in New Issue
Block a user