diff options
author | Devaev Maxim <[email protected]> | 2018-08-13 10:29:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-13 10:29:21 +0300 |
commit | 75579aff64e2cf8a3211b6174430a445a8026a60 (patch) | |
tree | 9e6d3de96c06c517654ec79c72bdb713d6f2fa72 | |
parent | 8bd515b18dee4592ed53c9b90f503ec561604a17 (diff) |
passing BUILD_OPTS into pi-builder
-rw-r--r-- | os/Makefile | 4 |
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)' \ |