Add QEMUEXTRA environment to add extra QEMU arguments, like in JOS
This commit is contained in:
parent
549c62cc1c
commit
e33873067b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -201,7 +201,7 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \
|
|||
ifndef CPUS
|
||||
CPUS := 2
|
||||
endif
|
||||
QEMUOPTS = -hdb fs.img xv6.img -smp $(CPUS) -m 512
|
||||
QEMUOPTS = -hdb fs.img xv6.img -smp $(CPUS) -m 512 $(QEMUEXTRA)
|
||||
|
||||
qemu: fs.img xv6.img
|
||||
$(QEMU) -serial mon:stdio $(QEMUOPTS)
|
||||
|
|
Loading…
Reference in a new issue