turbolua: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:07:17 +0000 (13:07 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
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/turbolua/turbolua.mk

index bf6d4918fb08276492f0df1d3d39a8630a77b105..bf9e27f16cf5a7c1e43ab5ecc04a18bdb125b149 100644 (file)
@@ -22,11 +22,11 @@ TURBOLUA_MAKE_OPTS += SSL=none
 endif
 
 define TURBOLUA_BUILD_CMDS
-       $(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
+       $(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
 endef
 
 define TURBOLUA_INSTALL_TARGET_CMDS
-       $(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
+       $(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
                PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
 endef