[Buildroot] [git commit] lzip: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 22 13:28:53 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=00a44f89575317bef010d03eea28e617cf56aa90
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Gustavo Zacarias <gustavo.zacarias at free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/lzip/lzip.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/lzip/lzip.mk b/package/lzip/lzip.mk
index 7b1fdf4..c6f0543 100644
--- a/package/lzip/lzip.mk
+++ b/package/lzip/lzip.mk
@@ -20,7 +20,7 @@ define HOST_LZIP_CONFIGURE_CMDS
 endef
 
 define LZIP_BUILD_CMDS
-	$(MAKE) -C $(@D)
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
 endef
 
 define HOST_LZIP_BUILD_CMDS
@@ -28,7 +28,7 @@ define HOST_LZIP_BUILD_CMDS
 endef
 
 define LZIP_INSTALL_TARGET_CMDS
-	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
 endef
 
 define HOST_LZIP_INSTALL_CMDS



More information about the buildroot mailing list