Config.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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
  14. help
  15. Select the version of Lua API/ABI you wish to use.
  16. config BR2_PACKAGE_LUA_5_1
  17. bool "Lua 5.1.x"
  18. select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
  19. config BR2_PACKAGE_LUA_5_3
  20. bool "Lua 5.3.x"
  21. select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3
  22. endchoice
  23. config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
  24. default "5.1" if BR2_PACKAGE_LUA_5_1
  25. default "5.3" if BR2_PACKAGE_LUA_5_3
  26. if BR2_PACKAGE_LUA_5_3
  27. config BR2_PACKAGE_LUA_32BITS
  28. bool "Use 32 bit numbers"
  29. default y if !BR2_ARCH_IS_64
  30. help
  31. Use a 32 bit data type for numbers / integers instead of the
  32. default 64 bit type. This option is particularly attractive
  33. for small machines and embedded systems.
  34. endif
  35. choice
  36. prompt "Lua command-line editing"
  37. default BR2_PACKAGE_LUA_EDITING_NONE
  38. config BR2_PACKAGE_LUA_EDITING_NONE
  39. bool "none"
  40. help
  41. None.
  42. config BR2_PACKAGE_LUA_READLINE
  43. bool "readline support"
  44. select BR2_PACKAGE_READLINE
  45. select BR2_PACKAGE_NCURSES
  46. help
  47. Enables command-line editing in the Lua interpreter.
  48. config BR2_PACKAGE_LUA_LINENOISE
  49. bool "linenoise support"
  50. select BR2_PACKAGE_LINENOISE
  51. help
  52. Enables command-line editing in the Lua interpreter.
  53. endchoice
  54. endif