summaryrefslogtreecommitdiff
path: root/package/lua/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-04-29 18:03:45 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-01 22:31:07 +0200
commit46913a2d4f5a059126aaf0411aded258f7d2de1b (patch)
treedb142364cc2375e57438abc0c1619d8109931867 /package/lua/Config.in
parent494149b989867d65b24f08cb428c596d0a0c3bc6 (diff)
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