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 <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Liu Yiding 2025-07-30 16:19:37 +08:00 committed by Khem Raj
parent a9d764744f
commit ffda36150c
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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 = ""