xref: /OK3568_Linux_fs/buildroot/package/fio/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_FIO
2	bool "fio"
3	depends on BR2_USE_MMU # fork()
4	depends on !BR2_STATIC_LIBS
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
6	depends on BR2_TOOLCHAIN_HAS_SYNC_4
7	depends on BR2_TOOLCHAIN_HAS_THREADS
8	# fio uses fallocate() which becomes fallocate64() while compiling with
9	# largefile support, but fallocate64() is not available on nios2
10	depends on !BR2_nios2
11	help
12	  fio is an I/O tool meant to be used both for benchmark
13	  and stress/hardware verification.
14
15	  http://git.kernel.dk/?p=fio.git;a=summary
16
17comment "fio needs a toolchain w/ dynamic library, threads, gcc >= 4.9"
18	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
19		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
20	depends on BR2_TOOLCHAIN_HAS_SYNC_4
21	depends on !BR2_nios2
22	depends on BR2_USE_MMU
23