liblockfile: 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>
This commit is contained in:
parent
825802b412
commit
1d2103d6e8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user