summaryrefslogtreecommitdiff
path: root/os/Makefile
blob: ff43bdeb4fa6113b5b6dc72a7c041a2f6f3d71cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
all:
	cat Makefile

pi-builder:
	git clone https://github.com/mdevaev/pi-builder --depth=1

pi-kvm: pi-builder
	rm -rf pi-builder/builder/scripts/kvm
	cp -a kvm pi-builder/builder/scripts
	cd pi-builder && make _rpi \
		PLATFORM=rpi-2 \
		BUILDER=kvm-builder \
		STAGES="base keys watchdog ro kvm"

format: pi-builder
	cd pi-builder && make format

install: pi-builder
	cd pi-builder && make install

clean: pi-builder
	cd pi-builder && make clean

clean-all: clean
	rm -rf pi-builder