config BR2_PACKAGE_LUV
	bool "luv"
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
	depends on BR2_USE_MMU # libuv
	depends on !BR2_STATIC_LIBS # libuv
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
	depends on !BR2_PACKAGE_LUA_5_4
	select BR2_PACKAGE_LIBUV
	help
	  libuv bindings for LuaJIT and Lua.

	  https://github.com/luvit/luv

comment "luv needs a toolchain w/ NPTL, dynamic library, Lua <= 5.3"
	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || BR2_PACKAGE_LUA_5_4
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
