summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2020-10-30 13:45:21 -0400
committerAndrew Cady <d@cryptonomic.net>2020-10-30 13:45:21 -0400
commit9931fd97d5f7dc6210a22ec0b7cc66fb56d1d17a (patch)
tree031c24424a0dd9527d33244a6f7412f68f625322 /Makefile
parent2b2060df3cc0460128774b2c167c06f562cf77e2 (diff)
"make usb" target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 68a7de1..6b670a3 100644
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,10 @@ FORCE:
167$(btrfs_images): FORCE 167$(btrfs_images): FORCE
168 $(MAKE) -C rootfs $(notdir $@) 168 $(MAKE) -C rootfs $(notdir $@)
169 169
170.PHONY: usb
171usb: rootfs
172 USB=$$(./src/usb.sh) && sudo ROOTFS=rootfs/$(rootfs) ./src/parted-usb.sh $$USB
173
170boot: rootfs 174boot: rootfs
171 sudo ./src/mkinitramfs-samizdat 175 sudo ./src/mkinitramfs-samizdat
172 sudo ROOTFS=rootfs/$(rootfs) ./src/parted-usb.sh 176 sudo ROOTFS=rootfs/$(rootfs) ./src/parted-usb.sh