Commit 43e91286 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Thomas Petazzoni
Browse files

fio: new package



[Thomas: add largefile and thread dependencies, bump to version 2.1.4,
 use upstream Git instead of Debian tarballs, adjust license
 information]

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent b7cac3e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ source "package/dmalloc/Config.in"
source "package/dropwatch/Config.in"
source "package/dstat/Config.in"
source "package/duma/Config.in"
source "package/fio/Config.in"
source "package/gdb/Config.in"
source "package/iozone/Config.in"
source "package/kexec/Config.in"

package/fio/Config.in

0 → 100644
+13 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_FIO
	bool "fio"
	depends on BR2_USE_MMU # fork()
	depends on BR2_LARGEFILE
	depends on BR2_TOOLCHAIN_HAS_THREADS
	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

package/fio/fio.mk

0 → 100644
+24 −0
Original line number Diff line number Diff line
################################################################################
#
# fio
#
################################################################################

FIO_VERSION = fio-2.1.4
FIO_SITE = git://git.kernel.dk/fio.git
FIO_LICENSE = GPLv2 + special obligations
FIO_LICENSE_FILES = LICENSE

define FIO_CONFIGURE_CMDS
	(cd $(@D); ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
endef

define FIO_BUILD_CMDS
	$(MAKE) -C $(@D)
endef

define FIO_INSTALL_TARGET_CMDS
	$(INSTALL) -D $(@D)/fio $(TARGET_DIR)/usr/bin/fio
endef

$(eval $(generic-package))