1 config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
3 default y if BR2_i386 || \
4 (BR2_x86_64 && BR2_HOSTARCH='x86_64') || \
5 BR2_powerpc || BR2_arm || BR2_armeb || \
6 ((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT && \
7 !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6)
9 config BR2_PACKAGE_LUAJIT
11 select BR2_PACKAGE_HAS_LUAINTERPRETER
12 depends on !BR2_STATIC_LIBS # dlopen
13 # Luajit is only available for some target architectures, and
14 # has some complexity wrt 32/64. See luajit.mk for details.
15 depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
16 # luajit.mk uses the "-m32" compiler option to build 32bit
17 # binaries, so check if that option is supported. See
18 # luajit.mk for details.
19 select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64
21 LuaJIT implements the full set of language features defined
22 by Lua 5.1. The virtual machine (VM) is API- and
23 ABI-compatible to the standard Lua interpreter and can be
24 deployed as a drop-in replacement.
30 config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
33 config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
38 comment "luajit needs a toolchain w/ dynamic library"
39 depends on BR2_STATIC_LIBS