openssl: use $(HOST_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:05:59 -03:00 committed by Thomas Petazzoni
parent 017e9f3344
commit e290ae7202

View File

@ -102,7 +102,7 @@ OPENSSL_POST_CONFIGURE_HOOKS += OPENSSL_FIXUP_STATIC_MAKEFILE
endif
define HOST_OPENSSL_BUILD_CMDS
$(MAKE) -C $(@D)
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define OPENSSL_BUILD_CMDS
@ -114,7 +114,7 @@ define OPENSSL_INSTALL_STAGING_CMDS
endef
define HOST_OPENSSL_INSTALL_CMDS
$(MAKE) -C $(@D) install
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
endef
define OPENSSL_INSTALL_TARGET_CMDS