qemu: Dont try to use display if there is none

This commit is contained in:
Nero 2019-09-04 13:38:32 +00:00
parent a0adadeaf4
commit 40bd6f5d12

View File

@ -15,6 +15,10 @@ QEMU_ARGS += -chardev file,path=debugcon.log,id=seabios
QEMU_ARGS += -device isa-debugcon,iobase=0x402,chardev=seabios QEMU_ARGS += -device isa-debugcon,iobase=0x402,chardev=seabios
endif endif
ifndef DISPLAY
QEMU_ARGS += --display none
endif
.PHONY: default clean qemu-rom qemu-floppy .PHONY: default clean qemu-rom qemu-floppy
default: kernel.rom default: kernel.rom