lua: 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
fccd0599cd
commit
7089eba70a
|
@ -75,7 +75,7 @@ define LUA_BUILD_CMDS
|
|||
endef
|
||||
|
||||
define HOST_LUA_BUILD_CMDS
|
||||
$(MAKE) \
|
||||
$(HOST_MAKE_ENV) $(MAKE) \
|
||||
CFLAGS="$(HOST_LUA_CFLAGS)" \
|
||||
MYLDFLAGS="$(HOST_LDFLAGS)" \
|
||||
MYLIBS="$(HOST_LUA_MYLIBS)" \
|
||||
|
@ -94,7 +94,7 @@ define LUA_INSTALL_TARGET_CMDS
|
|||
endef
|
||||
|
||||
define HOST_LUA_INSTALL_CMDS
|
||||
$(MAKE) INSTALL_TOP="$(HOST_DIR)/usr" -C $(@D) install
|
||||
$(HOST_MAKE_ENV) $(MAKE) INSTALL_TOP="$(HOST_DIR)/usr" -C $(@D) install
|
||||
$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
|
||||
$(HOST_DIR)/usr/lib/pkgconfig/lua.pc
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue