xref: /OK3568_Linux_fs/buildroot/package/luvi/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LUVI
2	bool "luvi"
3	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
4	depends on BR2_USE_MMU # libuv
5	depends on !BR2_STATIC_LIBS # libuv
6	depends on BR2_PACKAGE_LUAJIT
7	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
8	select BR2_PACKAGE_LIBUV
9	select BR2_PACKAGE_LUV
10	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
11	help
12	  A project in-between luv and luvit. The goal of this is to
13	  make building luvit and derivatives much easier.
14
15	  luvi extends LuaJIT with asynchronous I/O and several optional
16	  modules to run Lua applications and build self-contained
17	  binaries on systems that don't have a compiler.
18
19	  The luvi core can be extended with several Lua modules by
20	  adding its bundled Lua binding libraries.
21	  To get the Lua module...
22	    * 'rex' select PCRE (BR2_PACKAGE_PCRE)
23	    * 'ssl' select OpenSSL (BR2_PACKAGE_OPENSSL)
24	    * 'zlib' select zlib (BR2_PACKAGE_ZLIB)
25
26	  https://github.com/luvit/luvi
27
28comment "luvi needs a toolchain w/ NPTL, dynamic library"
29	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
30	depends on BR2_USE_MMU
31	depends on BR2_TOOLCHAIN_HAS_SYNC_4
32
33comment "luvi needs LuaJIT"
34	depends on !BR2_PACKAGE_LUAJIT
35