From: Mingli Yu <mingli...@windriver.com>

Drop unneeded autotools-brokensep class inherit, this package has
traditional makefile build.

This change also fixes the below buildpaths issue altogether.
WARNING: mcelog-191-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/mcelog in 
package mcelog-dbg contains reference to TMPDIR [buildpaths]

(cherry picked from commit 29e6c4928cfbfe3a00921b956938781d53563582)

Signed-off-by: Mingli Yu <mingli...@windriver.com>
---
 meta-oe/recipes-support/mcelog/mcelog_191.bb | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/mcelog/mcelog_191.bb 
b/meta-oe/recipes-support/mcelog/mcelog_191.bb
index e71343346..3c1c451c0 100644
--- a/meta-oe/recipes-support/mcelog/mcelog_191.bb
+++ b/meta-oe/recipes-support/mcelog/mcelog_191.bb
@@ -18,11 +18,18 @@ 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
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104414): 
https://lists.openembedded.org/g/openembedded-devel/message/104414
Mute This Topic: https://lists.openembedded.org/mt/100774887/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to