mplayer: 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:23 -03:00 committed by Thomas Petazzoni
parent a5a74fcdf2
commit 3533500075

View File

@ -368,11 +368,11 @@ define MPLAYER_CONFIGURE_CMDS
endef
define MPLAYER_BUILD_CMDS
$(MAKE) -C $(@D)
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define MPLAYER_INSTALL_TARGET_CMDS
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
$(eval $(generic-package))