From 5b3fd59f45be2304e056a7103bf01d4f9db86ae3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 13 Oct 2016 19:13:41 -0300 Subject: [PATCH] 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 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/jack2/jack2.mk | 12 +++++++++--- 1 file 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 -- 2.30.2