summaryrefslogtreecommitdiff
path: root/os/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'os/Makefile')
-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