lua: embed sub-options into a if...endif instead of depends on
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
641f5dcb76
commit
b16c6ac474
|
@ -5,16 +5,16 @@ config BR2_PACKAGE_LUA
|
||||||
|
|
||||||
http://www.lua.org/
|
http://www.lua.org/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_LUA
|
||||||
|
|
||||||
config BR2_PACKAGE_LUA_COMPILER
|
config BR2_PACKAGE_LUA_COMPILER
|
||||||
bool "lua compiler"
|
bool "lua compiler"
|
||||||
depends on BR2_PACKAGE_LUA
|
|
||||||
select BR2_PACKAGE_LUA_SHARED_LIBRARY
|
select BR2_PACKAGE_LUA_SHARED_LIBRARY
|
||||||
help
|
help
|
||||||
Install luac binary
|
Install luac binary
|
||||||
|
|
||||||
config BR2_PACKAGE_LUA_INTERPRETER
|
config BR2_PACKAGE_LUA_INTERPRETER
|
||||||
bool "lua interpreter"
|
bool "lua interpreter"
|
||||||
depends on BR2_PACKAGE_LUA
|
|
||||||
select BR2_PACKAGE_LUA_SHARED_LIBRARY
|
select BR2_PACKAGE_LUA_SHARED_LIBRARY
|
||||||
help
|
help
|
||||||
Install lua binary
|
Install lua binary
|
||||||
|
@ -29,6 +29,7 @@ config BR2_PACKAGE_LUA_INTERPRETER_READLINE
|
||||||
|
|
||||||
config BR2_PACKAGE_LUA_SHARED_LIBRARY
|
config BR2_PACKAGE_LUA_SHARED_LIBRARY
|
||||||
bool "shared library"
|
bool "shared library"
|
||||||
depends on BR2_PACKAGE_LUA
|
|
||||||
help
|
help
|
||||||
Install shared liblua.so
|
Install shared liblua.so
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user