summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2016-02-04 09:09:46 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-02-12 17:11:17 +0100
commitf06a2336dfe466a9c07da3e1a6cb85d7a83053dc (patch)
tree8ba3aee842f2df80e18220fab2bba78b74bee92d /recipes-devtools
parent4247de4dc732205876f8a6ed68cefc0d52cac021 (diff)
downloadmeta-yogurt-f06a2336dfe466a9c07da3e1a6cb85d7a83053dc.tar.bz2
meta-yogurt-f06a2336dfe466a9c07da3e1a6cb85d7a83053dc.zip
devtools: add flashbench
Tool for benchmarking and classifying flash memory drives (e.g. eMMC devices). Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/flashbench/flashbench_git.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-devtools/flashbench/flashbench_git.bb b/recipes-devtools/flashbench/flashbench_git.bb
new file mode 100644
index 0000000..5933272
--- /dev/null
+++ b/recipes-devtools/flashbench/flashbench_git.bb
@@ -0,0 +1,27 @@
+# Copyright (C) 2016 Stefan Christ <s.christ@phytec.de>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Tool for benchmarking and classifying flash memory drives"
+HOMEPAGE = "https://git.linaro.org/people/arnd.bergmann/flashbench.git"
+SECTION = "misc"
+DEPENDS = ""
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = "git://git.linaro.org/people/arnd.bergmann/flashbench.git;protocol=https"
+
+# There are no upstream tags/releases.
+SRCREV = "2e30b1968a66147412f21002ea844122a0d5e2f0"
+PR = "r0"
+PV = "0.1+${SRCPV}"
+
+# No configure/autotools. Only a simple Makefile.
+do_configure[noexec] = "1"
+
+do_install () {
+ install -Dm 755 ${B}/flashbench ${D}${bindir}/flashbench
+ install -Dm 755 ${B}/erase ${D}${bindir}/erase
+}