comment "targetcli-fb needs Python, a glibc toolchain, gcc >= 4.9, host gcc >= 8"
	depends on !BR2_PACKAGE_PYTHON3
	depends on BR2_USE_MMU
	depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
	depends on !BR2_HOST_GCC_AT_LEAST_8 || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
		!BR2_TOOLCHAIN_USES_GLIBC

config BR2_PACKAGE_TARGETCLI_FB
	bool "targetcli-fb"
	depends on BR2_PACKAGE_PYTHON3 # python-configshell-fb
	depends on BR2_USE_MMU # python-gobject -> gobject-introspection
	depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection
	depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection
	depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
	select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
	select BR2_PACKAGE_PYTHON_RTSLIB_FB
	select BR2_PACKAGE_PYTHON_SIX
	select BR2_PACKAGE_PYTHON_GOBJECT
	help
	  targetcli-fb is a command-line interface for configuring the
	  LIO generic SCSI target, present in 3.x Linux kernel
	  versions.

	  https://github.com/open-iscsi/targetcli-fb
