Skip to content
Snippets Groups Projects
Commit e3387306 authored by Austin Clements's avatar Austin Clements
Browse files

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

parent 549c62cc
No related branches found
No related tags found
No related merge requests found
...@@ -201,7 +201,7 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \ ...@@ -201,7 +201,7 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \
ifndef CPUS ifndef CPUS
CPUS := 2 CPUS := 2
endif 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: fs.img xv6.img
$(QEMU) -serial mon:stdio $(QEMUOPTS) $(QEMU) -serial mon:stdio $(QEMUOPTS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment