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
|
||||
serial.log
|
||||
nakefile
|
||||
log.txt
|
||||
|
||||
|
@ -57,6 +57,13 @@ task "debug", "Runs the operating system using QEMU with debug build and flags."
|
||||
echo "Running in Qemu."
|
||||
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.":
|
||||
runTask("build-release")
|
||||
runTask("build-disc")
|
||||
|
Loading…
Reference in New Issue
Block a user