espeak: 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-13 19:13:54 -03:00 committed by Thomas Petazzoni
parent 39c6d150ac
commit 98d693e478

View File

@ -32,12 +32,12 @@ define ESPEAK_CONFIGURE_CMDS
endef
define ESPEAK_BUILD_CMDS
$(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \
AUDIO="$(ESPEAK_AUDIO_BACKEND)" all
endef
define ESPEAK_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install
endef
$(eval $(generic-package))