aufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:07:19 +0000 (13:07 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
In this case in particular a host tool is built inside the target build
step.

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/aufs-util/aufs-util.mk

index a2d0bad656e902d06782e96909f960c9f608565e..d41b4ac4fdf35641f3b0a2943975041fa296277b 100644 (file)
@@ -41,7 +41,7 @@ AUFS_UTIL_POST_PATCH_HOOKS += AUFS_UTIL_REMOVE_RDU64
 
 # First, we build the host tools, needed to build the target tools.
 define AUFS_UTIL_BUILD_CMDS
-       $(MAKE) -C $(@D) \
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
                $(HOST_CONFIGURE_OPTS) \
                CPPFLAGS="$(AUFS_UTIL_HOST_CPPFLAGS)" \
                HOSTCC="$(HOSTCC)" HOSTLD="$(HOSTLD)" \