diff options
author | Loïc Hoguin <[email protected]> | 2016-10-25 14:54:05 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-25 14:54:05 +0300 |
commit | 2a06471461076f4ec9b1eeceb739429ba5142221 (patch) | |
tree | 68298c8ae7814bd4905de18c47251af81e4270a3 /plugins | |
parent | 7dc5d883ed074900f82784de51f6512c94c58eb7 (diff) | |
download | erlang.mk-2a06471461076f4ec9b1eeceb739429ba5142221.tar.gz erlang.mk-2a06471461076f4ec9b1eeceb739429ba5142221.tar.bz2 erlang.mk-2a06471461076f4ec9b1eeceb739429ba5142221.zip |
Add KERL_MAKEFLAGS option
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ci.mk | 4 |
1 files changed, 3 insertions, 1 deletions
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 |