diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-02-23 20:55:34 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-02-23 20:55:49 -0500 |
commit | 7a5f63c4818bdaa9589ebb0564af8c4edb4dcdc3 (patch) | |
tree | 74448f48a2b04f38afd924835c590c5f82045dae /partitions/Makefile | |
parent | d1d6155aa07e476a42cb3403065618b9bc262657 (diff) |
new targets: "make emu" "make upgrade"
Diffstat (limited to 'partitions/Makefile')
-rw-r--r-- | partitions/Makefile | 7 |
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 | |||
6 | whole.img: | 6 | whole.img: |
7 | partvi | 7 | partvi |
8 | 8 | ||
9 | .PHONY: usb | 9 | .PHONY: usb emu |
10 | usb: whole.img | 10 | usb: whole.img |
11 | usb=$$(usb) && dd status=progress if=$< of="$$usb" | 11 | usb=$$(usb) && dd status=progress if="$<" of="$$usb" |
12 | |||
13 | emu: whole.img | ||
14 | qemu-system-x86_64 -m 800 -enable-kvm -boot c "$<" | ||
12 | 15 | ||
13 | clean: | 16 | clean: |
14 | rm -rf _build whole.img | 17 | rm -rf _build whole.img |