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
1 changed files with 4 additions and 0 deletions

View File

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