config BR2_PACKAGE_BCTOOLBOX
	bool "bctoolbox"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
	help
	  Utilities library used by Belledonne Communications
	  softwares like belle-sip, mediastreamer2 and linphone.

	  Select BR2_PACKAGE_MBEDTLS for crypto support.

	  https://github.com/BelledonneCommunications/bctoolbox

comment "bctoolbox needs a toolchain w/ C++, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

comment "bctoolbox needs a toolchain not affected by GCC bug 64735"
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
