qemu: Dont try to use display if there is none
This commit is contained in:
parent
a0adadeaf4
commit
40bd6f5d12
1 changed files with 4 additions and 0 deletions
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
|
||||
endif
|
||||
|
||||
ifndef DISPLAY
|
||||
QEMU_ARGS += --display none
|
||||
endif
|
||||
|
||||
.PHONY: default clean qemu-rom qemu-floppy
|
||||
|
||||
default: kernel.rom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue