uftrace: fix issue that actually not install
PATCH 1/1 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
--- meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb +2 -1
@@ -41,7 +41,8 @@ do_compile() { } do_install() { - oe_runmake DESTDIR=${D} + oe_runmake DESTDIR=${D} install + rm -f ${D}/usr/lib/libelf.so* } FILES_SOLIBSDEV = ""
Signature · 1 line
2.43.0
Quoted 21 lines · Liu Yiding
1. "
oe_runmakeDESTDIR=${D} install" will actually install to ${D}, "oe_runmakeDESTDIR=${D}" will skip install, ${D} is empty2. fix issue that:
| ERROR: uftrace-0.18-r0do_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_configurewith "--with-elfutils=${STAGING_EXECPREFIXDIR}", here remove uftrace build libelfSigned-off-by Liu Yiding <[email protected]>--- meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb +0
-0
meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb do_compile() { · line 45
Quoted 6 lines
meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb +2
-1@@ -41,7 +41,8 @@ do_compile() { } do_install() { - oe_runmake DESTDIR=${D} + oe_runmake DESTDIR=${D} install + rm -f ${D}/usr/lib/libelf.so*
Thanks, it should be using ${libdir} instead of /usr/lib here which I have fixed locally.
Quoted 6 lines
meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb +0
-1} FILES_SOLIBSDEV = "" --2.43.0