diff options
author | Andrew Cady <d@cryptonomic.net> | 2020-10-30 10:30:58 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2020-10-30 10:30:58 -0400 |
commit | 1ec4aafb2d627a158e2490349d00b4a4fbc463c0 (patch) | |
tree | 868e68fe13484678984f0b8dcda72c8d16c97283 /rootfs/Makefile | |
parent | 5c0b9b1c605858867554bbc9a8e39926e6207f4f (diff) |
rootfs Makefile can build any *.btrfs image
Diffstat (limited to 'rootfs/Makefile')
-rw-r--r-- | rootfs/Makefile | 8 |
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 |
13 | all: rootfs $(ifneq $(patchfs),,patchfs) | 13 | all: rootfs $(ifneq $(patchfs),,patchfs) |
14 | 14 | ||
15 | rootfs $(rootfs): | 15 | %.btrfs: |
16 | $(sudo) $(fsmgr) build $(rootfs) | 16 | $(sudo) $(fsmgr) build $@ |
17 | 17 | ||
18 | patchfs $(patchfs): | 18 | rootfs: $(rootfs) |
19 | |||
20 | patchfs: | ||
19 | $(sudo) REWRITE_SOURCES_LIST=y $(fsmgr) build $(patchfs) | 21 | $(sudo) REWRITE_SOURCES_LIST=y $(fsmgr) build $(patchfs) |