[Buildroot] [git commit] 4th: use $(HOST_MAKE_ENV) when calling $(MAKE)

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


commit: https://git.buildroot.net/buildroot/commit/?id=2742bd3388e1e9d09a7d9c3408919e9e008fe027
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Gustavo Zacarias <gustavo.zacarias at free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/4th/4th.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/4th/4th.mk b/package/4th/4th.mk
index 7828592..0d82614 100644
--- a/package/4th/4th.mk
+++ b/package/4th/4th.mk
@@ -54,14 +54,14 @@ define 4TH_INSTALL_TARGET_CMDS
 endef
 
 define HOST_4TH_BUILD_CMDS
-	$(MAKE) -C $(@D)/sources all \
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources all \
 		CFLAGS="$(HOST_CFLAGS) -DUNIX -fsigned-char"
 endef
 
 define HOST_4TH_INSTALL_CMDS
 	mkdir -p $(HOST_DIR)/usr/bin
 	mkdir -p $(HOST_DIR)/usr/lib
-	$(MAKE) -C $(@D)/sources mostlyinstall \
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \
 		BINARIES=$(HOST_DIR)/usr/bin \
 		LIBRARIES=$(HOST_DIR)/usr/lib
 endef


More information about the buildroot mailing list