mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
zip: use $(HOST_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:
committed by
Thomas Petazzoni
parent
7073047608
commit
5e2c37221c
@@ -39,14 +39,14 @@ define ZIP_INSTALL_TARGET_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_ZIP_BUILD_CMDS
|
define HOST_ZIP_BUILD_CMDS
|
||||||
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
|
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
|
||||||
CFLAGS="$(HOST_CFLAGS) $(ZIP_CFLAGS)" \
|
CFLAGS="$(HOST_CFLAGS) $(ZIP_CFLAGS)" \
|
||||||
AS="$(HOSTCC) -c" \
|
AS="$(HOSTCC) -c" \
|
||||||
-f unix/Makefile generic
|
-f unix/Makefile generic
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_ZIP_INSTALL_CMDS
|
define HOST_ZIP_INSTALL_CMDS
|
||||||
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
|
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
|
||||||
prefix=$(HOST_DIR)/usr
|
prefix=$(HOST_DIR)/usr
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user