diff options
| author | chenheyun <chen_heyun@163.com> | 2024-03-27 06:08:12 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-27 07:57:30 -0700 |
| commit | 02b230b7f42a4009e082bac00b66c8d66691047a (patch) | |
| tree | 9d527c1a2197918d49c3f3ddd7ecd2f8c62b0564 /meta-oe/recipes-devtools | |
| parent | 9660163c4f9e3af42312f1d53d91b73c477b6aef (diff) | |
| download | meta-openembedded-02b230b7f42a4009e082bac00b66c8d66691047a.tar.gz | |
aer-inject:add new recipe
aer-inject allows to inject PCIE AER errors on the software
level into a running Linux kernel. This is intended for validation of the
PCIE driver error recovery handler and CIE AER core handler.
References:
https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/
Signed-off-by: chenheyun <chen_heyun@163.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
| -rw-r--r-- | meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb b/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb new file mode 100644 index 0000000000..fbc6bdfbed --- /dev/null +++ b/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 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 | " | ||
| 15 | SRCREV = "9bd5e2c7886fca72f139cd8402488a2235957d41" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | DEPENDS = "bison-native" | ||
| 20 | |||
| 21 | do_compile() { | ||
| 22 | oe_runmake CFLAGS="-Wall -D_GNU_SOURCE" | ||
| 23 | } | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr/' install | ||
| 27 | } | ||
| 28 | FILES:${PN} += "/usr/aer-inject" | ||
| 29 | BBCLASSEXTEND = "native nativesdk" \ No newline at end of file | ||
