aboutsummaryrefslogtreecommitdiff
path: root/package/openssl
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-13 19:13:22 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-15 14:16:54 +0200
commita5a74fcdf25b29955e7df669a279edc0fac8a6fa (patch)
tree7e1ab0eacaa281372e0aa192a1f2c99e77800f8d /package/openssl
parentd60344955c1f158a7d7be559fc3928abf375f2fd (diff)
downloadbuildroot-a5a74fcdf25b29955e7df669a279edc0fac8a6fa.tar.gz
buildroot-a5a74fcdf25b29955e7df669a279edc0fac8a6fa.tar.bz2
openssl: 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>
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/openssl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 6dc4b85c86..5f6267c682 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -106,11 +106,11 @@ define HOST_OPENSSL_BUILD_CMDS
endef
define OPENSSL_BUILD_CMDS
- $(MAKE) -C $(@D)
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define OPENSSL_INSTALL_STAGING_CMDS
- $(MAKE) -C $(@D) INSTALL_PREFIX=$(STAGING_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) INSTALL_PREFIX=$(STAGING_DIR) install
endef
define HOST_OPENSSL_INSTALL_CMDS
@@ -118,7 +118,7 @@ define HOST_OPENSSL_INSTALL_CMDS
endef
define OPENSSL_INSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) INSTALL_PREFIX=$(TARGET_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) INSTALL_PREFIX=$(TARGET_DIR) install
rm -rf $(TARGET_DIR)/usr/lib/ssl
rm -f $(TARGET_DIR)/usr/bin/c_rehash
endef