lzip: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-10-28 10:18:20 -03:00 committed by Thomas Petazzoni
parent bb50481b36
commit 678a54e11c

View File

@ -15,7 +15,7 @@ define LZIP_CONFIGURE_CMDS
endef
define HOST_LZIP_CONFIGURE_CMDS
(cd $(@D); ./configure --prefix=/usr \
(cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=/usr \
$(HOST_CONFIGURE_OPTS) )
endef
@ -24,7 +24,7 @@ define LZIP_BUILD_CMDS
endef
define HOST_LZIP_BUILD_CMDS
$(MAKE) -C $(@D)
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define LZIP_INSTALL_TARGET_CMDS
@ -32,7 +32,7 @@ define LZIP_INSTALL_TARGET_CMDS
endef
define HOST_LZIP_INSTALL_CMDS
$(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
endef
# It's not autotools-based