Commit b16c6ac4 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

lua: embed sub-options into a if...endif instead of depends on

parent 641f5dcb
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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