Config.in 1.3 KB

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