summaryrefslogtreecommitdiff
path: root/partitions
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-02-23 20:55:34 -0500
committerAndrew Cady <d@cryptonomic.net>2021-02-23 20:55:49 -0500
commit7a5f63c4818bdaa9589ebb0564af8c4edb4dcdc3 (patch)
tree74448f48a2b04f38afd924835c590c5f82045dae /partitions
parentd1d6155aa07e476a42cb3403065618b9bc262657 (diff)
new targets: "make emu" "make upgrade"
Diffstat (limited to 'partitions')
-rw-r--r--partitions/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/partitions/Makefile b/partitions/Makefile
index da25615..cf8ac28 100644
--- a/partitions/Makefile
+++ b/partitions/Makefile
@@ -6,9 +6,12 @@ all: whole.img
6whole.img: 6whole.img:
7 partvi 7 partvi
8 8
9.PHONY: usb 9.PHONY: usb emu
10usb: whole.img 10usb: whole.img
11 usb=$$(usb) && dd status=progress if=$< of="$$usb" 11 usb=$$(usb) && dd status=progress if="$<" of="$$usb"
12
13emu: whole.img
14 qemu-system-x86_64 -m 800 -enable-kvm -boot c "$<"
12 15
13clean: 16clean:
14 rm -rf _build whole.img 17 rm -rf _build whole.img