openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git] / package / luajit / Config.in
blob380f2472ead7f9fdeae7e9e395e8be6f57c2d8ce
1 config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
2         bool
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
10         bool "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
20         help
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.
26           http://luajit.org/
28 if BR2_PACKAGE_LUAJIT
30 config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
31         default "luajit"
33 config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
34         default "5.1"
36 endif
38 comment "luajit needs a toolchain w/ dynamic library"
39         depends on BR2_STATIC_LIBS