summaryrefslogtreecommitdiffstats
path: root/package/lua/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias2010-04-29 23:03:45 +0200
committerPeter Korsgaard2010-05-01 22:31:07 +0200
commit46913a2d4f5a059126aaf0411aded258f7d2de1b (patch)
treedb142364cc2375e57438abc0c1619d8109931867 /package/lua/Config.in
parentMake Mesa3D optional for X11 (diff)
downloadbuildroot-46913a2d4f5a059126aaf0411aded258f7d2de1b.tar.gz
buildroot-46913a2d4f5a059126aaf0411aded258f7d2de1b.tar.xz
buildroot-46913a2d4f5a059126aaf0411aded258f7d2de1b.zip
lua: Migrate to gentargets and improve it
Closes #803 Based on initial patch by rvpaasen@t3i.nl [Peter: lua/luac needs liblua.so.* on target] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lua/Config.in')
-rw-r--r--package/lua/Config.in30
1 files changed, 28 insertions, 2 deletions
diff --git a/package/lua/Config.in b/package/lua/Config.in
index 95108cdc3..56eba3529 100644
--- a/package/lua/Config.in
+++ b/package/lua/Config.in
@@ -1,8 +1,34 @@
config BR2_PACKAGE_LUA
bool "lua"
- select BR2_PACKAGE_READLINE
- select BR2_PACKAGE_NCURSES
help
Lua is a powerful, fast, light-weight, embeddable scripting language.
http://www.lua.org/
+
+config BR2_PACKAGE_LUA_COMPILER
+ bool "lua compiler"
+ depends on BR2_PACKAGE_LUA
+ select BR2_PACKAGE_LUA_SHARED_LIBRARY
+ help
+ Install luac binary
+
+config BR2_PACKAGE_LUA_INTERPRETER
+ bool "lua interpreter"
+ depends on BR2_PACKAGE_LUA
+ select BR2_PACKAGE_LUA_SHARED_LIBRARY
+ help
+ Install lua binary
+
+config BR2_PACKAGE_LUA_INTERPRETER_READLINE
+ bool "readline support"
+ depends on BR2_PACKAGE_LUA_INTERPRETER
+ select BR2_PACKAGE_READLINE
+ select BR2_PACKAGE_NCURSES
+ help
+ Enables command-line editing in the lua interpreter.
+
+config BR2_PACKAGE_LUA_SHARED_LIBRARY
+ bool "shared library"
+ depends on BR2_PACKAGE_LUA
+ help
+ Install shared liblua.so