ti-utils: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Thu, 13 Oct 2016 22:13:34 +0000 (19:13 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Oct 2016 12:17:13 +0000 (14:17 +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/ti-utils/ti-utils.mk

index 06aca6d409ca2dfebc777fb3a06a38c23ca33dd6..cfb0cb87690c7c6c06a7d2cfb54d7e1c15629e18 100644 (file)
@@ -14,7 +14,7 @@ TI_UTILS_CFLAGS = `$(PKG_CONFIG_HOST_BINARY) --cflags libnl-genl-3.0`
 TI_UTILS_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libnl-genl-3.0`
 
 define TI_UTILS_BUILD_CMDS
-       $(MAKE1) NFSROOT="$(STAGING_DIR)" \
+       $(TARGET_MAKE_ENV) $(MAKE1) NFSROOT="$(STAGING_DIR)" \
                CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(TI_UTILS_CFLAGS)" \
                LIBS="$(TI_UTILS_LIBS)" -C $(@D) all
 endef