From: Gustavo Zacarias Date: Thu, 13 Oct 2016 22:13:41 +0000 (-0300) Subject: jack2: use $(TARGET_MAKE_ENV) when calling $(MAKE) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b3fd59f45be2304e056a7103bf01d4f9db86ae3;p=buildroot.git 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 --- 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