From 75579aff64e2cf8a3211b6174430a445a8026a60 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 13 Aug 2018 10:29:21 +0300 Subject: passing BUILD_OPTS into pi-builder --- os/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)' \ -- cgit v1.2.3