diff options
Diffstat (limited to 'rootfs/Makefile')
-rw-r--r-- | rootfs/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/rootfs/Makefile b/rootfs/Makefile index 6696c14..9e4e15a 100644 --- a/rootfs/Makefile +++ b/rootfs/Makefile | |||
@@ -6,7 +6,13 @@ endif | |||
6 | 6 | ||
7 | sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) | 7 | sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) |
8 | 8 | ||
9 | rootfs = samiztest | 9 | rootfs ?= samizdat.btrfs |
10 | patchfs ?= samizdat.patch.btrfs | ||
10 | 11 | ||
11 | all: | 12 | .PHONY: all rootfs patchfs |
13 | all: rootfs $(ifneq $(patchfs),,patchfs) | ||
14 | |||
15 | rootfs $(rootfs): | ||
12 | $(sudo) $(fsmgr) build $(rootfs) | 16 | $(sudo) $(fsmgr) build $(rootfs) |
17 | patchfs $(patchfs): $(rootfs) | ||
18 | $(sudo) $(fsmgr) build $(patchfs) | ||