2
1

Config.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 language.
  6. http://www.lua.org/
  7. if BR2_PACKAGE_LUA
  8. config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
  9. default "lua"
  10. choice
  11. prompt "Lua Version"
  12. default BR2_PACKAGE_LUA_5_3
  13. help
  14. Select the version of Lua API/ABI you wish to use.
  15. config BR2_PACKAGE_LUA_5_1
  16. bool "Lua 5.1.x"
  17. config BR2_PACKAGE_LUA_5_2
  18. bool "Lua 5.2.x"
  19. config BR2_PACKAGE_LUA_5_3
  20. bool "Lua 5.3.x"
  21. endchoice
  22. config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
  23. default "5.1" if BR2_PACKAGE_LUA_5_1
  24. default "5.2" if BR2_PACKAGE_LUA_5_2
  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