aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-12-04 15:09:15 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-12-31 14:10:56 +0100
commitad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90 (patch)
tree40586f07be40c450711f2b5d484caa498b88d588
parent26eefaedfe82512b1db57c6fb8ca7bd1a6bc97d4 (diff)
downloadmeta-openembedded-contrib-ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90.tar.gz
mce-inject: add recipe
Add recipe of mce-inject which is required to run mcelog ptest cases. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/mcelog/mce-inject_git.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mcelog/mce-inject_git.bb b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
new file mode 100644
index 0000000000..f876144919
--- /dev/null
+++ b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Linux machine check injector tool"
+DESCRIPTION = "mce-inject allows to inject machine check errors on the \
+software level into a running Linux kernel. This is intended for \
+validation of the kernel machine check handler."
+SECTION = "System Environment/Base"
+
+SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git"
+
+SRCREV = "4cbe46321b4a81365ff3aafafe63967264dbfec5"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6"
+
+S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
+
+inherit autotools-brokensep
+
+EXTRA_OEMAKE = "destdir=${D}"