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>
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