2013-10-30 16:22:25 +01:00
|
|
|
config BR2_PACKAGE_FIO
|
|
|
|
bool "fio"
|
|
|
|
depends on BR2_USE_MMU # fork()
|
|
|
|
depends on BR2_LARGEFILE
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2013-12-26 10:44:45 +01:00
|
|
|
# fio uses posix_madvise(), which is not part of any official
|
|
|
|
# release of uClibc, but is part of uClibc Git, and backported
|
|
|
|
# in Buildroot patch set of uClibc 0.9.33. Therefore, we
|
|
|
|
# disable the build of fio for external uClibc toolchains
|
2014-07-01 20:03:04 +02:00
|
|
|
# (which use an unknown uClibc version) and for 0.9.31 which
|
|
|
|
# don't have posix_madvise().
|
2013-12-26 10:44:45 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC && \
|
2014-07-01 20:03:04 +02:00
|
|
|
!BR2_UCLIBC_VERSION_0_9_31
|
2014-05-19 21:23:30 +02:00
|
|
|
# fio uses fallocate() which becomes fallocate64() while compiling
|
|
|
|
# with BR2_LARGEFILE but fallocate64() is not available on nios2
|
|
|
|
depends on !BR2_nios2
|
2013-10-30 16:22:25 +01:00
|
|
|
help
|
|
|
|
fio is an I/O tool meant to be used both for benchmark
|
|
|
|
and stress/hardware verification.
|
|
|
|
|
|
|
|
http://git.kernel.dk/?p=fio.git;a=summary
|
|
|
|
|
|
|
|
comment "fio needs a toolchain w/ largefile, threads"
|
|
|
|
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
2014-05-19 21:23:30 +02:00
|
|
|
depends on !BR2_nios2
|