Config.in 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. config BR2_PACKAGE_LUA
  2. bool "lua"
  3. select BR2_PACKAGE_HAS_LUAINTERPRETER
  4. help
  5. Lua is a powerful, fast, light-weight, embeddable scripting
  6. language.
  7. http://www.lua.org/
  8. if BR2_PACKAGE_LUA
  9. config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
  10. default "lua"
  11. choice
  12. prompt "Lua Version"
  13. default BR2_PACKAGE_LUA_5_3 if BR2_PACKAGE_LUA_5_2 # legacy
  14. default BR2_PACKAGE_LUA_5_4
  15. help
  16. Select the version of Lua API/ABI you wish to use.
  17. config BR2_PACKAGE_LUA_5_1
  18. bool "Lua 5.1.x"
  19. select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
  20. select BR2_PACKAGE_LUA_CVT_N2S
  21. select BR2_PACKAGE_LUA_CVT_S2N
  22. config BR2_PACKAGE_LUA_5_3
  23. bool "Lua 5.3.x"
  24. select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3
  25. config BR2_PACKAGE_LUA_5_4
  26. bool "Lua 5.4.x"
  27. select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_4
  28. endchoice
  29. if BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
  30. config BR2_PACKAGE_LUA_32BITS
  31. bool "Use 32 bit numbers"
  32. default y if !BR2_ARCH_IS_64
  33. help
  34. Use a 32 bit data type for numbers / integers instead of the
  35. default 64 bit type. This option is particularly attractive
  36. for small machines and embedded systems.
  37. endif
  38. config BR2_PACKAGE_LUA_CVT_N2S
  39. bool "automatic coercion from number to string"
  40. default y # legacy
  41. help
  42. If unsure, say y, this is the default behavior of the Lua
  43. interpreter. See LUA_NOCVTN2S in luaconf.h
  44. config BR2_PACKAGE_LUA_CVT_S2N
  45. bool "automatic coercion from string to number"
  46. default y # legacy
  47. help
  48. If unsure, say y, this is the default behavior of the Lua
  49. interpreter. See LUA_NOCVTN2S in luaconf.h
  50. choice
  51. prompt "Lua command-line editing"
  52. default BR2_PACKAGE_LUA_EDITING_NONE
  53. config BR2_PACKAGE_LUA_EDITING_NONE
  54. bool "none"
  55. help
  56. None.
  57. config BR2_PACKAGE_LUA_READLINE
  58. bool "readline support"
  59. select BR2_PACKAGE_READLINE
  60. select BR2_PACKAGE_NCURSES
  61. help
  62. Enables command-line editing in the Lua interpreter.
  63. config BR2_PACKAGE_LUA_LINENOISE
  64. bool "linenoise support"
  65. select BR2_PACKAGE_LINENOISE
  66. help
  67. Enables command-line editing in the Lua interpreter.
  68. endchoice
  69. endif