Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fio: new package
@ 2013-10-30 15:22 Ezequiel Garcia
  2013-12-25 16:34 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Ezequiel Garcia @ 2013-10-30 15:22 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 package/Config.in     |  1 +
 package/fio/Config.in |  6 ++++++
 package/fio/fio.mk    | 25 +++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 package/fio/Config.in
 create mode 100644 package/fio/fio.mk

diff --git a/package/Config.in b/package/Config.in
index 4c4da51..7cb46aa 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/fio/Config.in b/package/fio/Config.in
new file mode 100644
index 0000000..263e7f5
--- /dev/null
+++ b/package/fio/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_FIO
+	bool "fio"
+	depends on BR2_USE_MMU # fork()
+	help
+	  fio is an I/O tool meant to be used both for benchmark
+	  and stress/hardware verification.
diff --git a/package/fio/fio.mk b/package/fio/fio.mk
new file mode 100644
index 0000000..60cd14f
--- /dev/null
+++ b/package/fio/fio.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# fio
+#
+################################################################################
+
+FIO_VERSION = 2.1.3
+FIO_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/f/fio
+FIO_SOURCE = fio_$(FIO_VERSION).orig.tar.gz
+FIO_LICENSE = GPLv2
+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))
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-12-26 13:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 15:22 [Buildroot] [PATCH] fio: new package Ezequiel Garcia
2013-12-25 16:34 ` Thomas Petazzoni
2013-12-25 20:17   ` Ezequiel Garcia
2013-12-25 20:28     ` Thomas Petazzoni
2013-12-25 20:32       ` Ezequiel Garcia
2013-12-26  9:40         ` Thomas Petazzoni
2013-12-26 11:30           ` Ezequiel Garcia
2013-12-26 13:38             ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox