ca-certificates: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:21 +0000 (13:06 -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/ca-certificates/ca-certificates.mk

index 393c8cdd83a30f2c0ca7cf4649b15e839d9d0d33..f26be64264587901ff6717c7fc786dc00fd8d61f 100644 (file)
@@ -22,7 +22,7 @@ endef
 define CA_CERTIFICATES_INSTALL_TARGET_CMDS
        $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/ca-certificates
        $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/ssl/certs
-       $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
        rm -f $(TARGET_DIR)/usr/sbin/update-ca-certificates
 
        # Remove any existing certificates under /etc/ssl/certs