--- /dev/null
+config BR2_PACKAGE_NBD
+ bool "nbd"
+ depends on BR2_USE_WCHAR # glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
+ depends on BR2_USE_MMU # glib2
+ 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_NBD_CLIENT
+ bool "nbd client"
+ default y
+ help
+ the client part of NBD.
+
+config BR2_NBD_SERVER
+ bool "nbd server"
+ help
+ the server part of NBD.
+
+endif
+
+comment "nbd needs a toolchain w/ wchar, threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS