summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-07 06:07:58 +0000
committerDevaev Maxim <[email protected]>2018-07-07 06:07:58 +0000
commita72f721b80de41af45c8f2f2ba3f8919d78c5845 (patch)
tree9796bbb625be23a6d8788770b9706fcf2240c1f4
parente71252933aa938d31b0e24cbbeca5999ad8b303d (diff)
new pi-builder
-rw-r--r--os/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/os/Makefile b/os/Makefile
index 8b1bcbe5..e96643a8 100644
--- a/os/Makefile
+++ b/os/Makefile
@@ -1,7 +1,7 @@
_BUILD_DIR=./.build
all:
- cat Makefile
+ @ cat Makefile
v1:
make _pikvm PIKVM_PLATFORM=v1
@@ -10,18 +10,15 @@ _pikvm: $(_BUILD_DIR)
rm -rf $(_BUILD_DIR)/stages/pikvm
rm -rf $(_BUILD_DIR)/builder/scripts/pikvm
cp -a platforms/$(PIKVM_PLATFORM) $(_BUILD_DIR)/stages/pikvm
- cd $(_BUILD_DIR) && make _rpi \
+ cd $(_BUILD_DIR) && make binfmt && make _rpi \
+ PROJECT=pi-kvm \
PLATFORM=rpi-2 \
- BUILDER=pikvm-builder \
- STAGES="base os ssh watchdog ro pikvm" \
+ STAGES="__init__ os ssh watchdog ro pikvm __cleanup__" \
HOSTNAME=pikvm
$(_BUILD_DIR):
git clone --depth=1 https://github.com/mdevaev/pi-builder $(_BUILD_DIR)
-format: $(_BUILD_DIR)
- cd $(_BUILD_DIR) && make format
-
install: $(_BUILD_DIR)
cd $(_BUILD_DIR) && make install