From 2a06471461076f4ec9b1eeceb739429ba5142221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 25 Oct 2016 14:54:05 +0300 Subject: Add KERL_MAKEFLAGS option --- plugins/ci.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/ci.mk b/plugins/ci.mk index dfb2f98..e273c64 100644 --- a/plugins/ci.mk +++ b/plugins/ci.mk @@ -18,6 +18,8 @@ export KERL KERL_GIT ?= https://github.com/kerl/kerl KERL_COMMIT ?= master +KERL_MAKEFLAGS ?= + OTP_GIT ?= https://github.com/erlang/otp CI_INSTALL_DIR ?= $(HOME)/erlang @@ -46,7 +48,7 @@ $(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp)))) define ci_otp_target ifeq ($(wildcard $(CI_INSTALL_DIR)/$(1)),) $(CI_INSTALL_DIR)/$(1): $(KERL) - $(KERL) build git $(OTP_GIT) $(1) $(1) + MAKEFLAGS="$(KERL_MAKEFLAGS)" $(KERL) build git $(OTP_GIT) $(1) $(1) $(KERL) install $(1) $(CI_INSTALL_DIR)/$(1) endif endef -- cgit v1.2.3