From 46913a2d4f5a059126aaf0411aded258f7d2de1b Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 29 Apr 2010 18:03:45 -0300 Subject: 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 Signed-off-by: Peter Korsgaard --- package/lua/Config.in | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'package/lua/Config.in') 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 -- cgit v1.2.3