aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd53a84..77e20f6 100644
--- a/Makefile
+++ b/Makefile
@@ -148,9 +148,11 @@ archive: all
##
# Hacking
+CPUS ?= 4
+
.PHONY: qemu
qemu: clean $(IMAGE) usr
- $(Q) $(QEMU) $(QEMU_FLAGS) -machine virt -kernel $(IMAGE) -initrd $(INIT)
+ $(Q) $(QEMU) $(QEMU_FLAGS) -machine virt -smp $(CPUS) -kernel $(IMAGE) -initrd $(INIT)
.PHONY: gdb
gdb: