config BR2_PACKAGE_NBD
	bool "nbd"
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU
	select BR2_PACKAGE_LIBGLIB2
	help
	  NBD is a set of utilities to configure network block devices,
	  allowing access to remote block devices over TCP/IP network.

	  http://nbd.sf.net/

if BR2_PACKAGE_NBD

config BR2_PACKAGE_NBD_CLIENT
	bool "nbd client"
	default y
	help
	  The client part of NBD.

config BR2_PACKAGE_NBD_SERVER
	bool "nbd server"
	help
	  The server part of NBD.

config BR2_PACKAGE_NBD_TRDUMP
	bool "nbd trdump"
	help
	  Utility to dump server logs in human-readable form.

endif

comment "nbd needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
