summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-06 14:59:00 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-06 14:59:00 -0400
commit55dc3b27ade5327d1723ed139e9e39cc47f9aae8 (patch)
tree5831fdfd49c74e04af8f851aaf3e381bac9e5113
parent0f2fd8c8eac1cf9606701bf6b0c867d47a4eec5c (diff)
downloadbuildstream-55dc3b27ade5327d1723ed139e9e39cc47f9aae8.tar.gz
make build element: Add support for PREFIX
-rw-r--r--buildstream/plugins/elements/make.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/plugins/elements/make.yaml b/buildstream/plugins/elements/make.yaml
index a8e63b5d5..1438bb52b 100644
--- a/buildstream/plugins/elements/make.yaml
+++ b/buildstream/plugins/elements/make.yaml
@@ -1,8 +1,8 @@
# make default configurations
variables:
- make: make
- make-install: make -j1 DESTDIR="%{install-root}" install
+ make: make PREFIX="%{prefix}"
+ make-install: make -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install
# Set this if the sources cannot handle parallelization.
#