config BR2_PACKAGE_TIO
	bool "tio"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # glib2
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_PACKAGE_HAS_LUAINTERPRETER
	depends on !BR2_PACKAGE_LUAJIT
	help
	  "tio" is a simple TTY terminal application which features a
	  straightforward commandline interface to easily connect to
	  TTY devices for basic input/output.

	  https://tio.github.io/

comment "tio needs a toolchain w/ threads, wchar"
	depends on BR2_USE_MMU
	depends on !BR2_sparc64 && !BR2_sparc
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR

comment "tio needs lua (but not luajit)"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_WCHAR
	depends on !BR2_PACKAGE_HAS_LUAINTERPRETER || BR2_PACKAGE_LUAJIT
