summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-17 19:28:32 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-17 19:28:32 (GMT)
commitb16c6ac4740cc0534a6b6dc1a51338296c1def92 (patch)
tree8f4d577f6954b3ce15cd9fa6524ea5f330da0176
parent641f5dcb764f63c086a23a2018aca952e83ef666 (diff)
downloadbuildroot-b16c6ac4740cc0534a6b6dc1a51338296c1def92.tar.gz
buildroot-b16c6ac4740cc0534a6b6dc1a51338296c1def92.tar.bz2
lua: embed sub-options into a if...endif instead of depends on
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/lua/Config.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/lua/Config.in b/package/lua/Config.in
index 56eba35..76359c0 100644
--- a/package/lua/Config.in
+++ b/package/lua/Config.in
@@ -5,16 +5,16 @@ config BR2_PACKAGE_LUA
http://www.lua.org/
+if BR2_PACKAGE_LUA
+
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
@@ -29,6 +29,7 @@ config BR2_PACKAGE_LUA_INTERPRETER_READLINE
config BR2_PACKAGE_LUA_SHARED_LIBRARY
bool "shared library"
- depends on BR2_PACKAGE_LUA
help
Install shared liblua.so
+
+endif