From ffda36150ca18ef3b0ce5f234266897c00e51cee Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Wed, 30 Jul 2025 16:19:37 +0800 Subject: [PATCH] uftrace: fix issue that actually not install 1. "oe_runmake DESTDIR=${D} install" will actually install to ${D}, "oe_runmake DESTDIR=${D}" will skip install, ${D} is empty 2. fix issue that: | ERROR: uftrace-0.18-r0 do_package: QA Issue: File '/usr/lib/libelf.so' from | uftrace was already stripped, this will prevent future debugging! [already-stripped] we have set to use sysroot libelf in do_configure with "--with-elfutils=${STAGING_EXECPREFIXDIR}", here remove uftrace build libelf Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb index 7ba2dcadc9..ce2be01f51 100644 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb @@ -41,7 +41,8 @@ do_compile() { } do_install() { - oe_runmake DESTDIR=${D} + oe_runmake DESTDIR=${D} install + rm -f ${D}${libdir}/libelf.so* } FILES_SOLIBSDEV = ""