Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Inject PCIE AER errors on the software level into a running Linux kernel." |
| 2 | DESCRIPTION = "\ |
| 3 | aer-inject allows to inject PCIE AER errors on the software \ |
| 4 | level into a running Linux kernel. This is intended for \ |
| 5 | validation of the PCIE driver error recovery handler and \ |
| 6 | PCIE AER core handler." |
| 7 | HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/" |
| 8 | SECTION = "pcie/misc" |
| 9 | LICENSE = "GPL-2.0-only" |
| 10 | |
| 11 | LIC_FILES_CHKSUM = "file://README;beginline=25;endline=38;md5=643c2332ec702691a87ba6ea9499b2d6" |
| 12 | |
| 13 | SRC_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 | " |
| 16 | SRCREV = "9bd5e2c7886fca72f139cd8402488a2235957d41" |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | DEPENDS = "bison-native" |
| 21 | |
| 22 | do_compile() { |
| 23 | oe_runmake CFLAGS="-Wall -D_GNU_SOURCE" |
| 24 | } |
| 25 | |
| 26 | do_install() { |
| 27 | oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install |
| 28 | } |
| 29 | FILES:${PN} += "${prefix}/aer-inject" |
| 30 | BBCLASSEXTEND = "native nativesdk" |