zlib: use $(TARGET_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:
parent
9441f92bdd
commit
64745304fc
@ -44,7 +44,7 @@ define HOST_ZLIB_CONFIGURE_CMDS
|
||||
endef
|
||||
|
||||
define ZLIB_BUILD_CMDS
|
||||
$(MAKE1) -C $(@D)
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_ZLIB_BUILD_CMDS
|
||||
@ -52,11 +52,11 @@ define HOST_ZLIB_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define ZLIB_INSTALL_STAGING_CMDS
|
||||
$(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install
|
||||
endef
|
||||
|
||||
define ZLIB_INSTALL_TARGET_CMDS
|
||||
$(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install
|
||||
endef
|
||||
|
||||
# We don't care removing the .a from target, since it not used at link
|
||||
|
Loading…
Reference in New Issue
Block a user