summaryrefslogtreecommitdiff
path: root/package/gadgetfs-test/Config.in
blob: 36713fcd6ad7fcb6f638c1a7f9b337b44848b22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
config BR2_PACKAGE_GADGETFS_TEST
	bool "gadgetfs-test"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  Test program for gadgetfs from linux-usb.org

config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
	bool "use asynchronous i/o"
	select BR2_PACKAGE_LIBAIO
	depends on BR2_PACKAGE_GADGETFS_TEST
	# libaio is available only on few architectures
	depends on \
		BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
		BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
		BR2_sparc || BR2_x86_64
	help
	  Select this to have gadgetfs-test do asynchronous I/O using
	  the libaio library.

comment "gadgetfs-test requires thread support in toolchain"
	depends on !BR2_TOOLCHAIN_HAS_THREADS