aboutsummaryrefslogtreecommitdiff
path: root/package/jack2/jack2.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-13 19:13:41 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-15 14:17:26 +0200
commit5b3fd59f45be2304e056a7103bf01d4f9db86ae3 (patch)
treef8e4cff97b0967d1d373c274d2fd566ea86ef344 /package/jack2/jack2.mk
parentce3e7a33cb6244a46879487d42883cca56ce5397 (diff)
downloadbuildroot-5b3fd59f45be2304e056a7103bf01d4f9db86ae3.tar.gz
buildroot-5b3fd59f45be2304e056a7103bf01d4f9db86ae3.tar.bz2
jack2: use $(TARGET_MAKE_ENV) when calling $(MAKE)
In this case in particular it's $(TARGET_CONFIGURE_OPTS), which includes $(TARGET_MAKE_ENV). Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/jack2/jack2.mk')
-rw-r--r--package/jack2/jack2.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk
index f6ab974e8b..fa9e451345 100644
--- a/package/jack2/jack2.mk
+++ b/package/jack2/jack2.mk
@@ -53,16 +53,22 @@ define JACK2_CONFIGURE_CMDS
endef
define JACK2_BUILD_CMDS
- (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
endef
define JACK2_INSTALL_TARGET_CMDS
- (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
install)
endef
define JACK2_INSTALL_STAGING_CMDS
- (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) \
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) \
install)
endef