config BR2_PACKAGE_CC_TOOL
	bool "cc-tool"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_WCHAR # boost-filesystem
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_BOOST
	select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
	select BR2_PACKAGE_BOOST_SYSTEM
	select BR2_PACKAGE_BOOST_REGEX
	select BR2_PACKAGE_BOOST_FILESYSTEM
	help
	  cc-tool provides support for Texas Instruments CC Debugger
	  for Linux OS in order to program 8051-based System-On-Chip
	  devices: CC254x CC253x CC243x CC251x CC111x

	  https://github.com/dashesy/cc-tool/

comment "cc-tool needs a toolchain w/ C++, threads, wchar, gcc >= 4.9 "
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
