qemu: Dont try to use display if there is none
This commit is contained in:
parent
a0adadeaf4
commit
40bd6f5d12
4
Makefile
4
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user