Output serial to a file

This commit is contained in:
Thomas Lovén 2017-12-02 00:34:19 +01:00
parent 034a870ac7
commit c19bc51bdc

View File

@ -3,7 +3,8 @@
if [ -z ${MITTOS64+x} ]; then >&2 echo "Unsupported environment! See README"; exit 1; fi
iso=${BUILDROOT}mittos64.iso
seriallog=${BUILDROOT}serial.log
${BUILDROOT}toolchain/mkiso
qemu-system-x86_64 -s -S -cdrom ${iso} $@
qemu-system-x86_64 -s -S -cdrom ${iso} -serial file:${seriallog} $@