summaryrefslogtreecommitdiff
path: root/rootfs/Makefile
blob: 1dbbc9c5c24a8dcd9f32b746d9ebf61db74e2034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
fsmgr := $(shell which fsmgr)

ifeq ($(fsmgr),)
$(error "no fsmgr")
endif

sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo)

rootfs = samizdat

all:
	$(sudo) $(fsmgr) build $(rootfs)