diff options
Diffstat (limited to 'meta-oe/recipes-support/mcelog')
-rw-r--r-- | meta-oe/recipes-support/mcelog/mce-inject_git.bb | 9 | ||||
-rw-r--r-- | meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch | 2 | ||||
-rw-r--r-- | meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch | 47 | ||||
-rw-r--r-- | meta-oe/recipes-support/mcelog/mce-test_git.bb | 12 | ||||
-rw-r--r-- | meta-oe/recipes-support/mcelog/mcelog_204.bb (renamed from meta-oe/recipes-support/mcelog/mcelog_198.bb) | 12 |
5 files changed, 64 insertions, 18 deletions
diff --git a/meta-oe/recipes-support/mcelog/mce-inject_git.bb b/meta-oe/recipes-support/mcelog/mce-inject_git.bb index a228c3cc06..c8ffb65fa1 100644 --- a/meta-oe/recipes-support/mcelog/mce-inject_git.bb +++ b/meta-oe/recipes-support/mcelog/mce-inject_git.bb | |||
@@ -6,7 +6,7 @@ SECTION = "System Environment/Base" | |||
6 | 6 | ||
7 | SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git;branch=master" | 7 | SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git;branch=master" |
8 | 8 | ||
9 | SRCREV = "4cbe46321b4a81365ff3aafafe63967264dbfec5" | 9 | SRCREV = "ca81c1dbed5c7e30fe79d44953ccfeaab98d2b4f" |
10 | 10 | ||
11 | UPSTREAM_CHECK_COMMITS = "1" | 11 | UPSTREAM_CHECK_COMMITS = "1" |
12 | 12 | ||
@@ -15,10 +15,11 @@ DEPENDS = "bison-native" | |||
15 | LICENSE = "GPL-2.0-only" | 15 | LICENSE = "GPL-2.0-only" |
16 | LIC_FILES_CHKSUM = "file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6" | 16 | LIC_FILES_CHKSUM = "file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | 18 | ||
20 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' | 19 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' |
21 | 20 | ||
22 | inherit autotools-brokensep | 21 | EXTRA_OEMAKE = "CFLAGS='${CFLAGS}'" |
23 | 22 | ||
24 | EXTRA_OEMAKE = "destdir=${D} CFLAGS='${CFLAGS}'" | 23 | do_install() { |
24 | oe_runmake 'destdir=${D}' install | ||
25 | } | ||
diff --git a/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch b/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch index 969bfc17cf..80b9ae23b3 100644 --- a/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch +++ b/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch | |||
@@ -5,7 +5,7 @@ Subject: [PATCH] gcov_merge.py/scov_merge.py: switch to python3 | |||
5 | 5 | ||
6 | Make gcov_merge.py and scov_merge.py port to python3. | 6 | Make gcov_merge.py and scov_merge.py port to python3. |
7 | 7 | ||
8 | Upstream-Status: Pending | 8 | Upstream-Status: Submitted [https://github.com/andikleen/mce-test/pull/8] |
9 | 9 | ||
10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
11 | --- | 11 | --- |
diff --git a/meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch b/meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch new file mode 100644 index 0000000000..3b2e9502ae --- /dev/null +++ b/meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 3f1f2d143a1e365bb0451609d08194756951099a Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Tue, 22 Apr 2025 18:03:24 +0000 | ||
4 | Subject: [PATCH] ltp-pan: fix wait_handler declaration | ||
5 | |||
6 | to match definition in: | ||
7 | tools/ltp-pan/ltp-pan.c:wait_handler( int sig ) | ||
8 | |||
9 | * fixes build with gcc-15: | ||
10 | http://errors.yoctoproject.org/Errors/Details/852857/ | ||
11 | |||
12 | ltp-pan.c: In function 'main': | ||
13 | ltp-pan.c:459:19: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] | ||
14 | 459 | sa.sa_handler = wait_handler; | ||
15 | | ^ | ||
16 | In file included from ltp-pan.c:67: | ||
17 | zoolib.h:52:6: note: 'wait_handler' declared here | ||
18 | 52 | void wait_handler(); | ||
19 | | ^~~~~~~~~~~~ | ||
20 | In file included from TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/sys/param.h:28, | ||
21 | from ltp-pan.c:56: | ||
22 | TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here | ||
23 | 72 | typedef void (*__sighandler_t) (int); | ||
24 | | ^~~~~~~~~~~~~~ | ||
25 | ltp-pan.c:489:17: error: too many arguments to function 'wait_handler'; expected 0, have 1 | ||
26 | 489 | wait_handler(SIGINT); | ||
27 | | ^~~~~~~~~~~~ ~~~~~~ | ||
28 | |||
29 | Upstream-Status: Submitted [https://github.com/andikleen/mce-test/pull/9] | ||
30 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
31 | --- | ||
32 | tools/ltp-pan/zoolib.h | 2 +- | ||
33 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
34 | |||
35 | diff --git a/tools/ltp-pan/zoolib.h b/tools/ltp-pan/zoolib.h | ||
36 | index 8b4049e..34ce76f 100644 | ||
37 | --- a/tools/ltp-pan/zoolib.h | ||
38 | +++ b/tools/ltp-pan/zoolib.h | ||
39 | @@ -49,7 +49,7 @@ extern char zoo_error[ZELEN]; | ||
40 | int lock_file( FILE *fp, short ltype, char **errmsg ); | ||
41 | /* FILE *open_file( char *file, char *mode, char **errmsg ); */ | ||
42 | |||
43 | -void wait_handler(); | ||
44 | +void wait_handler(int sig); | ||
45 | |||
46 | /* char *zoo_active( void ); */ | ||
47 | /* zoo_getname(): create a filename to use for the zoo | ||
diff --git a/meta-oe/recipes-support/mcelog/mce-test_git.bb b/meta-oe/recipes-support/mcelog/mce-test_git.bb index 05e98e86ed..3b96210633 100644 --- a/meta-oe/recipes-support/mcelog/mce-test_git.bb +++ b/meta-oe/recipes-support/mcelog/mce-test_git.bb | |||
@@ -11,17 +11,17 @@ LICENSE = "GPL-2.0-only" | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
12 | 12 | ||
13 | SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \ | 13 | SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \ |
14 | file://makefile-remove-ldflags.patch \ | 14 | file://makefile-remove-ldflags.patch \ |
15 | file://0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch \ | 15 | file://0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch \ |
16 | " | 16 | file://0001-ltp-pan-fix-wait_handler-declaration.patch \ |
17 | SRCREV = "025014dedca39d2b8a57a82e52286e72e157d73a" | 17 | " |
18 | PV = "20222810+git" | 18 | SRCREV = "9d11fc3e05eae7b454efeb5941beded56f80445b" |
19 | PV = "20230601+git" | ||
19 | 20 | ||
20 | RDEPENDS:${PN} = "mcelog mce-inject dialog bash" | 21 | RDEPENDS:${PN} = "mcelog mce-inject dialog bash" |
21 | 22 | ||
22 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | 23 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' |
23 | 24 | ||
24 | S ="${WORKDIR}/git" | ||
25 | 25 | ||
26 | EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" | 26 | EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" |
27 | 27 | ||
diff --git a/meta-oe/recipes-support/mcelog/mcelog_198.bb b/meta-oe/recipes-support/mcelog/mcelog_204.bb index e302f4175d..c3d082aa67 100644 --- a/meta-oe/recipes-support/mcelog/mcelog_198.bb +++ b/meta-oe/recipes-support/mcelog/mcelog_204.bb | |||
@@ -5,18 +5,16 @@ and should run on all Linux systems that need error handling." | |||
5 | HOMEPAGE = "https://mcelog.org/" | 5 | HOMEPAGE = "https://mcelog.org/" |
6 | SECTION = "System Environment/Base" | 6 | SECTION = "System Environment/Base" |
7 | 7 | ||
8 | SRC_URI = "\ | 8 | SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \ |
9 | git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \ | 9 | file://0001-client-Include-string.h-form-mem-function-prototypes.patch \ |
10 | file://0001-client-Include-string.h-form-mem-function-prototypes.patch \ | 10 | file://run-ptest \ |
11 | file://run-ptest \ | 11 | " |
12 | " | ||
13 | 12 | ||
14 | SRCREV = "ab58f07b9b1a4456fca0f5f41639d5cbecc80e36" | 13 | SRCREV = "ad244c6b60fcbd08a5d73497bfb3487983801598" |
15 | 14 | ||
16 | LICENSE = "GPL-2.0-only" | 15 | LICENSE = "GPL-2.0-only" |
17 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
18 | 17 | ||
19 | S = "${WORKDIR}/git" | ||
20 | 18 | ||
21 | inherit ptest | 19 | inherit ptest |
22 | 20 | ||