zlib: use $(HOST_MAKE_ENV) when calling $(MAKE1)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2016-12-13 11:50:45 -03:00 committed by Peter Korsgaard
parent 64745304fc
commit aa9a838364

View File

@ -48,7 +48,7 @@ define ZLIB_BUILD_CMDS
endef endef
define HOST_ZLIB_BUILD_CMDS define HOST_ZLIB_BUILD_CMDS
$(MAKE1) -C $(@D) $(HOST_MAKE_ENV) $(MAKE1) -C $(@D)
endef endef
define ZLIB_INSTALL_STAGING_CMDS define ZLIB_INSTALL_STAGING_CMDS
@ -70,7 +70,7 @@ ZLIB_POST_INSTALL_STAGING_HOOKS += ZLIB_RM_STATIC_STAGING
endif endif
define HOST_ZLIB_INSTALL_CMDS define HOST_ZLIB_INSTALL_CMDS
$(MAKE1) -C $(@D) LDCONFIG=true install $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) LDCONFIG=true install
endef endef
$(eval $(generic-package)) $(eval $(generic-package))