4th: 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:
parent
330dd92423
commit
2742bd3388
@ -54,14 +54,14 @@ define 4TH_INSTALL_TARGET_CMDS
|
||||
endef
|
||||
|
||||
define HOST_4TH_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)/sources all \
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources all \
|
||||
CFLAGS="$(HOST_CFLAGS) -DUNIX -fsigned-char"
|
||||
endef
|
||||
|
||||
define HOST_4TH_INSTALL_CMDS
|
||||
mkdir -p $(HOST_DIR)/usr/bin
|
||||
mkdir -p $(HOST_DIR)/usr/lib
|
||||
$(MAKE) -C $(@D)/sources mostlyinstall \
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \
|
||||
BINARIES=$(HOST_DIR)/usr/bin \
|
||||
LIBRARIES=$(HOST_DIR)/usr/lib
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user