config BR2_PACKAGE_RPCBIND
	bool "rpcbind"
	# We really need libtirpc and can't work with the native RPC
	# implementation of toolchains.
	depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc
	select BR2_PACKAGE_LIBTIRPC
	# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
	# support, needed for libtirpc
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
	# fork()
	depends on BR2_USE_MMU
	help
	  The rpcbind utility is a server that converts RPC program numbers
	  into universal addresses.

comment "rpcbind needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
	depends on !BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU
