config BR2_PACKAGE_SIGROK_CLI
	bool "sigrok-cli"
	# libsigrok->libglib2:
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU
	# libsigrok->libzip
	depends on !BR2_STATIC_LIBS
	# libsigrok
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
	depends on BR2_ENABLE_LOCALE
	select BR2_PACKAGE_LIBSIGROK
	help
	  Sigrok-cli is a command-line frontend for the sigrok
	  software suite.

	  http://sigrok.org/wiki/Sigrok-cli

comment "sigrok-cli needs a toolchain w/ locale, wchar, threads, dynamic library, gcc >= 4.7"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS \
		|| !BR2_ENABLE_LOCALE
