From 29e6c4928cfbfe3a00921b956938781d53563582 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 20 May 2023 00:43:58 -0700 Subject: [PATCH] mcelog: Upgrade to 194 Drop unneeded autotools-brokensep class inherit, this package has traditional makefile build. Signed-off-by: Khem Raj --- .../mcelog/{mcelog_191.bb => mcelog_194.bb} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename meta-oe/recipes-support/mcelog/{mcelog_191.bb => mcelog_194.bb} (85%) diff --git a/meta-oe/recipes-support/mcelog/mcelog_191.bb b/meta-oe/recipes-support/mcelog/mcelog_194.bb similarity index 85% rename from meta-oe/recipes-support/mcelog/mcelog_191.bb rename to meta-oe/recipes-support/mcelog/mcelog_194.bb index e713433469..9b5c554d86 100644 --- a/meta-oe/recipes-support/mcelog/mcelog_191.bb +++ b/meta-oe/recipes-support/mcelog/mcelog_194.bb @@ -11,18 +11,25 @@ SRC_URI = "\ file://run-ptest \ " -SRCREV = "a3552acad43ac1f47d3acba1c79462bdece4ea17" +SRCREV = "8f33fdc47160edce09d75e1316b4d88129ca60a0" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" S = "${WORKDIR}/git" -inherit autotools-brokensep ptest +inherit ptest COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' -do_install:append() { +EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install DESTDIR=${D} install -d ${D}${sysconfdir}/cron.hourly install -m 0755 ${S}/mcelog.cron ${D}${sysconfdir}/cron.hourly/ sed -i 's/bash/sh/' ${D}${sysconfdir}/cron.hourly/mcelog.cron