lrzsz: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:20 +0000 (13:06 -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/lrzsz/lrzsz.mk

index 453ef6250d36d2770934dff447f844ea5a8f723e..a283dd1a3045e77996ebab629879933acfc50168 100644 (file)
@@ -16,7 +16,7 @@ define LRZSZ_POST_CONFIGURE_HOOKS
 endef
 
 define LRZSZ_BUILD_HOOKS
-       $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D)
+       $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D)
 endef
 
 define LRZSZ_INSTALL_TARGET_CMDS