summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:24 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commit2742bd3388e1e9d09a7d9c3408919e9e008fe027 (patch)
tree401cd7d8d2e4ec472fd3d6865c44b75ed6d7f44c
parent330dd92423c49692b21dbe90dabba34866fd6913 (diff)
4th: use $(HOST_MAKE_ENV) when calling $(MAKE)
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>
-rw-r--r--package/4th/4th.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/4th/4th.mk b/package/4th/4th.mk
index 782859281..0d82614f3 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