ti-sgx-um: 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>
2016.11.x
Gustavo Zacarias 2016-10-17 13:07:00 -03:00 committed by Thomas Petazzoni
parent 781808d6d7
commit 5b5ddccfc6
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ TI_SGX_UM_INSTALL_STAGING = YES
TI_SGX_UM_DEPENDENCIES = libdrm
define TI_SGX_UM_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) install
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) install
endef
define TI_SGX_UM_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) install
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) install
endef
# libs use the following file for configuration