bitstream: 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:07 -03:00 committed by Thomas Petazzoni
parent b9b1e6edc3
commit 049384f36d

View file

@ -15,7 +15,7 @@ BITSTREAM_INSTALL_STAGING = YES
BITSTREAM_INSTALL_TARGET = NO
define BITSTREAM_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))