summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-17 21:28:32 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-17 21:28:32 +0200
commitb16c6ac4740cc0534a6b6dc1a51338296c1def92 (patch)
tree8f4d577f6954b3ce15cd9fa6524ea5f330da0176 /package
parent641f5dcb764f63c086a23a2018aca952e83ef666 (diff)
lua: embed sub-options into a if...endif instead of depends on
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-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 56eba3529..76359c0df 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