liblockfile: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:07:09 +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/liblockfile/liblockfile.mk

index 8de598f19ba03ce553398bdeaca774d2da371f2c..e42b83066c7e09c30b285e8c1cd8f3620fe6a77d 100644 (file)
@@ -18,7 +18,7 @@ LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man
 define LIBLOCKFILE_INSTALL_STAGING_CMDS
        mkdir -p $(addprefix $(STAGING_DIR)/usr/share/man/man,1 3)
        rm -f $(STAGING_DIR)/usr/lib/liblockfile.so
-       $(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install
        ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1
 endef