summaryrefslogtreecommitdiff
path: root/os/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-06-30 05:55:02 +0300
committerDevaev Maxim <[email protected]>2018-06-30 06:04:43 +0300
commitc0aee642467655952d701e37f284a7a589d638e2 (patch)
tree8099740f9a2c28b8354f3d2154fd857aa4d420a3 /os/Makefile
parent0cfb3c5dbc91fa8f4c33114beb36c356965f497f (diff)
reorganized project structure
Diffstat (limited to 'os/Makefile')
-rw-r--r--os/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/os/Makefile b/os/Makefile
index ffba4d0f..2ea1c0b1 100644
--- a/os/Makefile
+++ b/os/Makefile
@@ -1,16 +1,19 @@
all:
cat Makefile
-pi-builder:
- git clone https://github.com/mdevaev/pi-builder --depth=1
+v1:
+ make _pikvm PIKVM=v1
-pi-kvm: pi-builder
- rm -rf pi-builder/builder/scripts/kvm
- cp -a kvm pi-builder/builder/scripts
+_pikvm: pi-builder
+ rm -rf pi-builder/builder/scripts/pikvm
+ cp -a platforms/$(PIKVM_PLATFORM) pi-builder/builder/scripts/pikvm
cd pi-builder && make _rpi \
PLATFORM=rpi-2 \
- BUILDER=kvm-builder \
- STAGES="base keys watchdog ro kvm"
+ BUILDER=pikvm-builder \
+ STAGES="base keys watchdog ro pikvm"
+
+pi-builder:
+ git clone https://github.com/mdevaev/pi-builder --depth=1
format: pi-builder
cd pi-builder && make format