aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2013-10-08 12:05:42 -0400
committerLinaro Code Review <review@review.linaro.org>2013-10-11 08:43:33 +0000
commitcf8fb623292d0de71b1c66ca288502f1d8cc8a3f (patch)
tree5fbbec2eef6fa555d801a055b312b74a374316ac /meta-linaro/recipes-extra
parent50253de9f2b76f5d1f85eb14f3033651ce5d1b73 (diff)
downloadmeta-linaro-cf8fb623292d0de71b1c66ca288502f1d8cc8a3f.tar.gz
latency-test: add recipe
Change-Id: I4b129c8c4dd0a5cd1c2e9cc25743f4129f617756 Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Diffstat (limited to 'meta-linaro/recipes-extra')
-rw-r--r--meta-linaro/recipes-extra/latency-test/latency-test_git.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/latency-test/latency-test_git.bb b/meta-linaro/recipes-extra/latency-test/latency-test_git.bb
new file mode 100644
index 00000000..2d6f0ae9
--- /dev/null
+++ b/meta-linaro/recipes-extra/latency-test/latency-test_git.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Latency test"
+DESCRIPTION = "Test to measure the latency of the Linux kernel"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://latency.c;endline=39;md5=0ac97d68f333880973b054365ea2acc5"
+SRCREV = "e9671a414d832d37b16359b6a180c7c306199c55"
+
+COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
+
+SRC_URI = "git://git.linaro.org/people/mike.holmes/latency-test.git"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+ oe_runmake test
+}
+
+do_install() {
+ install -D -p -m0755 latency ${D}${bindir}/latency
+}