turbolua: use $(TARGET_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>
This commit is contained in:
Gustavo Zacarias 2016-10-17 13:07:17 -03:00 committed by Thomas Petazzoni
parent fef4059ee2
commit 2fd8cde1ff

View File

@ -22,11 +22,11 @@ TURBOLUA_MAKE_OPTS += SSL=none
endif
define TURBOLUA_BUILD_CMDS
$(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
$(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
endef
define TURBOLUA_INSTALL_TARGET_CMDS
$(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
$(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
endef