mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00: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
|
# We unfortunately can't use TARGET_CONFIGURE_OPTS, because the luajit
|
||||||
# build system uses non conventional variable names.
|
# build system uses non conventional variable names.
|
||||||
define LUAJIT_BUILD_CMDS
|
define LUAJIT_BUILD_CMDS
|
||||||
$(MAKE) PREFIX="/usr" \
|
$(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" \
|
||||||
STATIC_CC="$(TARGET_CC)" \
|
STATIC_CC="$(TARGET_CC)" \
|
||||||
DYNAMIC_CC="$(TARGET_CC) -fPIC" \
|
DYNAMIC_CC="$(TARGET_CC) -fPIC" \
|
||||||
TARGET_LD="$(TARGET_CC)" \
|
TARGET_LD="$(TARGET_CC)" \
|
||||||
@ -52,11 +52,11 @@ define LUAJIT_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define LUAJIT_INSTALL_STAGING_CMDS
|
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
|
endef
|
||||||
|
|
||||||
define LUAJIT_INSTALL_TARGET_CMDS
|
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
|
endef
|
||||||
|
|
||||||
define LUAJIT_INSTALL_SYMLINK
|
define LUAJIT_INSTALL_SYMLINK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user