summaryrefslogtreecommitdiff
path: root/os/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-06-27 20:39:42 +0300
committerDevaev Maxim <[email protected]>2018-06-27 23:21:55 +0300
commit4804aa53b5f0954d02898ec44e595ea2e08ed9e6 (patch)
tree6a737a3e07df742f8e7b84ce8850d2a0f9d5563f /os/Makefile
parent4c145f363f33222b948df981d8c936844f2b17dc (diff)
os building environ
Diffstat (limited to 'os/Makefile')
-rw-r--r--os/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/os/Makefile b/os/Makefile
new file mode 100644
index 00000000..ff43bdeb
--- /dev/null
+++ b/os/Makefile
@@ -0,0 +1,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