mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-15 06:10:02 +00:00
eb6dc0ceb5
fix wait_handler declaration to match definition in: tools/ltp-pan/ltp-pan.c:wait_handler( int sig ) * fixes build with gcc-15: http://errors.yoctoproject.org/Errors/Details/852857/ ltp-pan.c: In function 'main': ltp-pan.c:459:19: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 459 | sa.sa_handler = wait_handler; | ^ In file included from ltp-pan.c:67: zoolib.h:52:6: note: 'wait_handler' declared here 52 | void wait_handler(); | ^~~~~~~~~~~~ In file included from TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/sys/param.h:28, from ltp-pan.c:56: TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ ltp-pan.c:489:17: error: too many arguments to function 'wait_handler'; expected 0, have 1 489 | wait_handler(SIGINT); | ^~~~~~~~~~~~ ~~~~~~ Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
35 lines
991 B
BlitzBasic
35 lines
991 B
BlitzBasic
#
|
|
# Copyright (C) 2012 Wind River Systems, Inc.
|
|
#
|
|
SUMMARY = "MCE test suite"
|
|
|
|
DESCRIPTION = "The MCE test suite is a collection of tools and test scripts for \
|
|
testing the Linux RAS related features, including CPU/Memory error \
|
|
containment and recovery, ACPI/APEI support etc."
|
|
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
|
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \
|
|
file://makefile-remove-ldflags.patch \
|
|
file://0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch \
|
|
file://0001-ltp-pan-fix-wait_handler-declaration.patch \
|
|
"
|
|
SRCREV = "9d11fc3e05eae7b454efeb5941beded56f80445b"
|
|
PV = "20230601+git"
|
|
|
|
RDEPENDS:${PN} = "mcelog mce-inject dialog bash"
|
|
|
|
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"
|
|
|
|
do_install:append(){
|
|
install -d ${D}/opt/mce-test
|
|
cp -rf ${S}/* ${D}/opt/mce-test/
|
|
}
|
|
|
|
FILES:${PN} += "/opt"
|