Add QEMUEXTRA environment to add extra QEMU arguments, like in JOS

This commit is contained in:
Austin Clements 2011-09-04 15:19:33 -04:00
parent 549c62cc1c
commit e33873067b
1 changed files with 1 additions and 1 deletions

View File

@ -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)