jack2: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Thu, 13 Oct 2016 22:13:41 +0000 (19:13 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Oct 2016 12:17:26 +0000 (14:17 +0200)
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>
package/jack2/jack2.mk

index f6ab974e8b0470442dfc4cf3189747c293ae8204..fa9e451345ff26084a1331b2891f2728836a8322 100644 (file)
@@ -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