diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2025-07-30 16:19:37 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-30 08:03:04 -0700 |
| commit | ffda36150ca18ef3b0ce5f234266897c00e51cee (patch) | |
| tree | 211d8d382afcafed23cee36b2d01acf0e1fab53d | |
| parent | a9d764744f071751241783524910375d9faf7b09 (diff) | |
| download | meta-openembedded-ffda36150ca18ef3b0ce5f234266897c00e51cee.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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() { | |||
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | do_install() { | 43 | do_install() { |
| 44 | oe_runmake DESTDIR=${D} | 44 | oe_runmake DESTDIR=${D} install |
| 45 | rm -f ${D}${libdir}/libelf.so* | ||
| 45 | } | 46 | } |
| 46 | 47 | ||
| 47 | FILES_SOLIBSDEV = "" | 48 | FILES_SOLIBSDEV = "" |
