f6995e22f3921bbddc7d6714a47f5392a9c6f8fa
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / luajit / Config.in
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
8 config BR2_PACKAGE_LUAJIT
9         bool "luajit"
10         select BR2_PACKAGE_HAS_LUAINTERPRETER
11         # Luajit is only available for some target architectures, and
12         # has some complexity wrt 32/64. See luajit.mk for details.
13         depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
14         # luajit.mk uses the "-m32" compiler option to build 32bit
15         # binaries, so check if that option is supported. See
16         # luajit.mk for details.
17         select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64
18         help
19           LuaJIT implements the full set of language features defined
20           by Lua 5.1. The virtual machine (VM) is API- and
21           ABI-compatible to the standard Lua interpreter and can be
22           deployed as a drop-in replacement.
23
24           http://luajit.org/
25
26 if BR2_PACKAGE_LUAJIT
27
28 config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
29         default "luajit"
30
31 config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
32         default "5.1"
33
34 endif