bitstream: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:07:07 +0000 (13:07 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
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>
package/bitstream/bitstream.mk

index a76c3c44b501d351e9bf540c1d24195c42aa4c3c..9c8c6f5ca2e780d58faf0ee5366f912f36fbd8ab 100644 (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))