aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mcelog
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-18 12:39:50 +0100
commit906cb0dcf0d40893849b5bd76189b119e9a6c7dc (patch)
tree4481fd872485392ddbbe4d990f11d35f5b0f7e56 /meta-oe/recipes-support/mcelog
parent22004e5281a913818a94bcd160ad3135a9ecd314 (diff)
downloadmeta-openembedded-contrib-906cb0dcf0d40893849b5bd76189b119e9a6c7dc.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>
Diffstat (limited to 'meta-oe/recipes-support/mcelog')
-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}"