config BR2_PACKAGE_AZURE_IOT_SDK_C
	bool "azure-iot-sdk-c"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBXML2
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_UTIL_LINUX
	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
	help
	  Microsoft Azure IoT Hub device SDK for C is used
	  to connect devices running C code to Azure IoT Hub.

	  https://github.com/Azure/azure-iot-sdk-c

comment "azure-iot-sdk-c needs a toolchain w/ C++, NPTL and wchar"
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
