You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/02/25 06:32:02 UTC
[buildstream] branch bst-1 updated: make: Make it easier to override parameters to make
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch bst-1
in repository https://gitbox.apache.org/repos/asf/buildstream.git
The following commit(s) were added to refs/heads/bst-1 by this push:
new 65edd59 make: Make it easier to override parameters to make
new b64c12f Merge pull request #1604 from nanonyme/make-flags
65edd59 is described below
commit 65edd5972dc33a4bb55f4b7a02f0197bebe6d7db
Author: Seppo Yli-Olli <se...@gmail.com>
AuthorDate: Thu Feb 24 18:52:15 2022 +0200
make: Make it easier to override parameters to make
Backport of https://gitlab.com/BuildStream/bst-plugins-experimental/-/merge_requests/121
---
buildstream/plugins/elements/make.yaml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/buildstream/plugins/elements/make.yaml b/buildstream/plugins/elements/make.yaml
index 1438bb5..8dca64e 100644
--- a/buildstream/plugins/elements/make.yaml
+++ b/buildstream/plugins/elements/make.yaml
@@ -1,8 +1,14 @@
# make default configurations
variables:
- make: make PREFIX="%{prefix}"
- make-install: make -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install
+ make-args: >-
+ PREFIX="%{prefix}"
+ make-install-args: >-
+ %{make-args}
+ DESTDIR="%{install-root}"
+ install
+ make: make %{make-args}
+ make-install: make -j1 %{make-install-args}
# Set this if the sources cannot handle parallelization.
#