summaryrefslogtreecommitdiffstats
path: root/rules/lua.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2008-07-30 18:15:19 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-07-30 18:15:19 +0000
commit526a9514da1660c103bdd2f0be4ad8fa1ed80819 (patch)
tree3a312896deee09fc926b2e92dc18122aa8cddf62 /rules/lua.in
parent7a58a4130bc5f0dd55baa6d48a55092af39040a3 (diff)
downloadptxdist-526a9514da1660c103bdd2f0be4ad8fa1ed80819.tar.gz
ptxdist-526a9514da1660c103bdd2f0be4ad8fa1ed80819.tar.xz
* lua: Add lua support to ptxdist 1.99
From: Erwin Rol <erwin@erwinrol.com> This patch add lua support to ptxdist 1.99. It has a menu entry under scripting languages. And a patch that makes it possible to use autoconf to build. Signed-off-by: Erwin Rol <erwin@erwinrol.com> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8698 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/lua.in')
-rw-r--r--rules/lua.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/rules/lua.in b/rules/lua.in
new file mode 100644
index 000000000..4834aa671
--- /dev/null
+++ b/rules/lua.in
@@ -0,0 +1,54 @@
+menuconfig LUA
+ tristate
+ prompt "lua"
+ select READLINE if LUA_READLINE
+ help
+ Lua is a powerful, fast, light-weight, embeddable scripting language.
+ Lua combines simple procedural syntax with powerful data description
+ constructs based on associative arrays and extensible semantics. Lua is
+ dynamically typed, runs by interpreting bytecode for a register-based
+ virtual machine, and has automatic memory management with incremental
+ garbage collection, making it ideal for configuration, scripting, and
+ rapid prototyping.
+
+ More information under http://www.lua.org/
+
+if LUA
+
+config LUA_READLINE
+ bool
+ prompt "Use readline"
+ depends on BROKEN
+ help
+ FIXME
+
+config LUA_INSTALL_LUA
+ bool
+ prompt "Install lua on target"
+ select LUA_INSTALL_LIBLUA
+ help
+ lua is the stand-alone Lua interpreter. It loads and executes
+ Lua programs, either in textual source form or in precompiled
+ binary form. (Precompiled binaries are output by luac, the Lua
+ compiler.) lua can be used as a batch interpreter and also
+ interactively.
+
+config LUA_INSTALL_LUAC
+ bool
+ prompt "Install luac on target"
+ select LUA_INSTALL_LIBLUA
+ help
+ luac is the Lua compiler. It translates programs written in
+ the Lua programming language into binary files that can be
+ later loaded and executed.
+
+config LUA_INSTALL_LIBLUA
+ bool
+ default y
+ prompt "Install liblua.so on target"
+ help
+ liblua.so is a shared library that can be used to embedded lua
+ scripting in C programs.
+
+endif
+