blob: 87c09f5118bb42123b6c2a864e9b1eee4c70e942 [file] [log] [blame]
Patrick Williams03514f12024-04-05 07:04:11 -05001SUMMARY = "Inject PCIE AER errors on the software level into a running Linux kernel."
2DESCRIPTION = "\
3aer-inject allows to inject PCIE AER errors on the software \
4level into a running Linux kernel. This is intended for \
5validation of the PCIE driver error recovery handler and \
6PCIE AER core handler."
7HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/"
8SECTION = "pcie/misc"
9LICENSE = "GPL-2.0-only"
10
11LIC_FILES_CHKSUM = "file://README;beginline=25;endline=38;md5=643c2332ec702691a87ba6ea9499b2d6"
12
13SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git;protocol=https;branch=master \
14 file://0001-include-libgen.h-for-basename.patch \
15"
16SRCREV = "9bd5e2c7886fca72f139cd8402488a2235957d41"
17
18S = "${WORKDIR}/git"
19
20DEPENDS = "bison-native"
21
22do_compile() {
23 oe_runmake CFLAGS="-Wall -D_GNU_SOURCE"
24}
25
26do_install() {
27 oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
28}
29FILES:${PN} += "${prefix}/aer-inject"
30BBCLASSEXTEND = "native nativesdk"