similarity index 85%
rename from meta-oe/recipes-support/mcelog/mcelog_191.bb
rename to 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
Drop unneeded autotools-brokensep class inherit, this package has traditional makefile build. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../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%)