4th: use $(HOST_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:24 +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/4th/4th.mk

index 7828592815d5143d4d9e28c8699a51d9c95c9992..0d82614f3633d971d1fe80c933730f82db473ef2 100644 (file)
@@ -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