config BR2_PACKAGE_GADGETFS_TEST
	bool "gadgetfs-test"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  Test program for gadgetfs from linux-usb.org

if BR2_PACKAGE_GADGETFS_TEST

config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
	bool "use asynchronous i/o"
	depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
	select BR2_PACKAGE_LIBAIO
	help
	  Select this to have gadgetfs-test do asynchronous I/O using
	  the libaio library.

endif

comment "gadgetfs-test needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
