mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-10 22:43:24 +08:00
luajit: use $(TARGET_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
e4d0c3f96a
commit
1b787528b6
@ -36,7 +36,7 @@ endif
|
||||
# We unfortunately can't use TARGET_CONFIGURE_OPTS, because the luajit
|
||||
# build system uses non conventional variable names.
|
||||
define LUAJIT_BUILD_CMDS
|
||||
$(MAKE) PREFIX="/usr" \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" \
|
||||
STATIC_CC="$(TARGET_CC)" \
|
||||
DYNAMIC_CC="$(TARGET_CC) -fPIC" \
|
||||
TARGET_LD="$(TARGET_CC)" \
|
||||
@ -52,11 +52,11 @@ define LUAJIT_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define LUAJIT_INSTALL_STAGING_CMDS
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" LDCONFIG=true -C $(@D) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" LDCONFIG=true -C $(@D) install
|
||||
endef
|
||||
|
||||
define LUAJIT_INSTALL_TARGET_CMDS
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install
|
||||
endef
|
||||
|
||||
define LUAJIT_INSTALL_SYMLINK
|
||||
|
Loading…
Reference in New Issue
Block a user