summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/os/Makefile b/os/Makefile
index fc77d326..d3f8e9e6 100644
--- a/os/Makefile
+++ b/os/Makefile
@@ -1,3 +1,5 @@
+BUILD_OPTS ?=
+
HOSTNAME ?= pikvm
LOCALE ?= en_US.UTF-8
TIMEZONE ?= Europe/Moscow
@@ -28,7 +30,7 @@ _pikvm: $(_BUILD_DIR)
rm -rf $(_BUILD_DIR)/builder/scripts/pikvm
cp -a platforms/$(PIKVM_PLATFORM) $(_BUILD_DIR)/stages/pikvm
cd $(_BUILD_DIR) && make binfmt && make _rpi \
- BUILD_OPTS=" \
+ BUILD_OPTS=" $(BUILD_OPTS) \
--build-arg KVMD_VERSION=$(_KVMD_VERSION) \
--build-arg NEW_SSH_KEYGEN=$(shell uuidgen) \
--build-arg WEBUI_ADMIN_PASSWD='$(WEBUI_ADMIN_PASSWD)' \