Config.in 1.4 KB

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