summaryrefslogtreecommitdiff
path: root/rootfs/Makefile
blob: 6696c1407bc636ac284325fa3137544564cb687e (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 = samiztest

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