summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mcelog/mce-inject_git.bb
blob: c8ffb65fa1e7b61f78a8705d49fef9b14f93c5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;branch=master"

SRCREV = "ca81c1dbed5c7e30fe79d44953ccfeaab98d2b4f"

UPSTREAM_CHECK_COMMITS = "1"

DEPENDS = "bison-native"

LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6"


COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'

EXTRA_OEMAKE = "CFLAGS='${CFLAGS}'"

do_install() {
    oe_runmake 'destdir=${D}' install
}