mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
elfutils: additional ptest fixes
This should address ARM64 specific failures in particular. eu-objdump is now installed on all architectures; ptests fail in its absence and pass when it is present, so it's useful at least in some scenarios in non-x86 architectures and fails gracefully otherwise. The original decision to exclude it was here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5283 (From OE-Core rev: 3a3b20df28f6ace6267b68c34faeef3da4d7ef8a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fa7ca65e8b
commit
71d47de3b7
@@ -58,11 +58,7 @@ RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils"
|
||||
|
||||
EXTRA_OECONF_append_class-target += "--disable-tests-rpath"
|
||||
|
||||
do_install_append() {
|
||||
if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then
|
||||
rm -f ${D}${bindir}/eu-objdump
|
||||
fi
|
||||
}
|
||||
RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
|
||||
|
||||
do_compile_ptest() {
|
||||
cd ${B}/tests
|
||||
@@ -139,6 +135,7 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
|
||||
${PKGD}${PTEST_PATH}/tests/elfstrmerge \
|
||||
${PKGD}${PTEST_PATH}/tests/backtrace-child \
|
||||
${PKGD}${PTEST_PATH}/tests/backtrace-data \
|
||||
${PKGD}${PTEST_PATH}/tests/backtrace-dwarf \
|
||||
${PKGD}${PTEST_PATH}/tests/deleted \
|
||||
${PKGD}${PTEST_PATH}/src/strip \
|
||||
${PKGD}${PTEST_PATH}/src/addr2line \
|
||||
|
||||
Reference in New Issue
Block a user