Browse Source

[LuaJIT] Allow MIPS64 support

Signed-off-by: Donald Hoskins <grommish@gmail.com>
lilik-openwrt-22.03
Donald Hoskins 4 years ago
parent
commit
d325fbffbe
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      lang/luajit/Makefile

+ 3
- 4
lang/luajit/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luajit PKG_NAME:=luajit
PKG_VERSION:=2.1.0-beta3 PKG_VERSION:=2.1.0-beta3
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=LuaJIT-$(PKG_VERSION).tar.gz PKG_SOURCE:=LuaJIT-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://luajit.org/download PKG_SOURCE_URL:=https://luajit.org/download
@ -24,14 +24,13 @@ define Package/luajit
CATEGORY:=Languages CATEGORY:=Languages
TITLE:=LuaJIT TITLE:=LuaJIT
URL:=https://www.luajit.org URL:=https://www.luajit.org
DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel)
DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64)
endef endef
define Package/luajit/description define Package/luajit/description
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. *** Requires GCC Multilib on host system to build! *** LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. *** Requires GCC Multilib on host system to build! ***
endef endef
ifeq ($(HOST_ARCH),x86_64)
ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH), x86_64 mips64))
ifeq ($(CONFIG_ARCH_64BIT),) ifeq ($(CONFIG_ARCH_64BIT),)
HOST_BITS := -m32 HOST_BITS := -m32
endif endif


Loading…
Cancel
Save