Commit Graph

22 Commits

Author SHA1 Message Date
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
Christian Marangi 5eea661fdb
luajit: move arch dependency to dedicated config HAS_LUAJIT_ARCH
Move arch dependency for luajit to dedicated config HAS_LUAJIT_ARCH to
workaround recursive dependency limitation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-25 17:42:02 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Šimon Bořek a4a484fbca luajit: patch: PPC/e500 SPE: use soft float instead of failing
makes LuaJit builds for mpc85xx targets with SPE ISA extension
enabled possible

Quoting inner commit message:

This allows building LuaJit for systems with Power ISA SPE
extension[^1] support by using soft float on LuaJit side.

While e500 CPU cores support SPE instruction set extension
allowing them to perform floating point arithmetic natively,
this isn't required. They can function with software floating
point to integer arithmetic translation as well,
just like FPU-less PowerPC CPUs without SPE support.

Therefore I see no need to prevent them from running LuaJit
explicitly.

[^1]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-08-06 10:34:58 -07:00
Rosen Penev 24c0007ea2 luajit: backport softfloat ppc support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-22 12:48:32 -06:00
Sergey V. Lobanov 42c4d25455 luajit: fix build on macos (ldconfig issue)
fix ldconfig build issue. This patch is a backport from upstream:
18c9cf7d37

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-08 08:04:03 +01:00
Rosen Penev d23ca0010c luajit: for powerpc, add FPU dependency
powerpc support as of 2.1 does not work with soft float.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-31 16:26:26 -07:00
Rosen Penev 0e620f1fa1 luajit: fix compilation with host clang
It errors out with this section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-26 11:25:42 -07:00
Donald Hoskins d325fbffbe [LuaJIT] Allow MIPS64 support
Signed-off-by: Donald Hoskins <grommish@gmail.com>
2020-06-22 00:06:24 -04:00
Rosen Penev 51de4b2e35
luajit: do not install static libraries to InstallDev
The dynamic library change removed static libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-16 18:07:52 -08:00
Rosen Penev d9487590c6
luajit: use dynamic buildmode
Reduces package size with about 50%

Fixes: https://github.com/openwrt/packages/issues/10848

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-14 20:07:05 -08:00
Eric Kinzie 5b0ef0e1b9 luajit: fix building for 64-bit targets
Host and target architectures need to have the same pointer size.
When building on x86_64, do not force 32-bit host binaries if the target
architecture is also 64-bit.

See http://luajit.org/install.html#cross

Add 64-bit arm (aarch64) to the list of architectures.

Signed-off-by: Eric Kinzie <ekinzie@labn.net>
2019-06-11 17:24:19 -04:00
Kevin Darbyshire-Bryant 9543d1d1b7 luajit: permit building on macos host
luajit didn't understand completely that it was building in a cross
compiled environment for Linux target.  This would cause issues when
building under openwrt on macos.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-05-21 14:59:31 +01:00
Rosen Penev 0873c8da60 luajit: Switch to versioned releases
Allows to simplify the Makefile

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-06 14:44:32 -08:00
W. Michael Petullo ba5e9aa945 luajit: install libluajit-5.1.so.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-08-10 07:35:34 +08:00
W. Michael Petullo efb7d0be6d luajit: add .hpp to InstallDev
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-08-09 08:31:19 +08:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Morteza Milani 67c549fd06 luajit: update to trunk
This includes a fix in jit module that is essential for MIPS target.

Signed-off-by: Morteza Milani <milani@pichak.co>
2017-01-23 11:00:53 +03:30
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Yousong Zhou ea9e3b05ef luajit: move patches dir to the right place
Closes #3792

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-01-08 22:10:25 +08:00
Daniel Engberg 1c56d7e610 lang/luajit: Move to lua submenu
Move luajit to where the other lua stuff lives

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-07 19:54:01 +01:00
Morteza Milani 0f3f62edb9 luajit: new package
Add luajit to repo

Signed-off-by: Morteza Milani <milani@pichak.co>
2017-01-07 15:56:53 +03:30