summaryrefslogtreecommitdiff
path: root/rootfs
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2020-10-30 10:30:58 -0400
committerAndrew Cady <d@cryptonomic.net>2020-10-30 10:30:58 -0400
commit1ec4aafb2d627a158e2490349d00b4a4fbc463c0 (patch)
tree868e68fe13484678984f0b8dcda72c8d16c97283 /rootfs
parent5c0b9b1c605858867554bbc9a8e39926e6207f4f (diff)
rootfs Makefile can build any *.btrfs image
Diffstat (limited to 'rootfs')
-rw-r--r--rootfs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/rootfs/Makefile b/rootfs/Makefile
index d664742..bcb885b 100644
--- a/rootfs/Makefile
+++ b/rootfs/Makefile
@@ -12,8 +12,10 @@ patchfs ?= samizdat.patch.btrfs
12.PHONY: all rootfs patchfs 12.PHONY: all rootfs patchfs
13all: rootfs $(ifneq $(patchfs),,patchfs) 13all: rootfs $(ifneq $(patchfs),,patchfs)
14 14
15rootfs $(rootfs): 15%.btrfs:
16 $(sudo) $(fsmgr) build $(rootfs) 16 $(sudo) $(fsmgr) build $@
17 17
18patchfs $(patchfs): 18rootfs: $(rootfs)
19
20patchfs:
19 $(sudo) REWRITE_SOURCES_LIST=y $(fsmgr) build $(patchfs) 21 $(sudo) REWRITE_SOURCES_LIST=y $(fsmgr) build $(patchfs)