summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-04-20 14:05:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-23 10:12:08 +0100
commit2cd3d10d36a44d87612d6cf8563bd1dbecad5250 (patch)
treecc2419cb96e9f909b055a3aae23d6d6461caf147 /meta/recipes-devtools/elfutils
parent1b349efbc245c88178ad3e5a170c83ab29486605 (diff)
downloadpoky-2cd3d10d36a44d87612d6cf8563bd1dbecad5250.tar.gz
elfutils: adjust ptests for correct debuginfod testing
(From OE-Core rev: fdfe429dad9b9ab685caf3a61876f7a23453aedd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.183.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.183.bb b/meta/recipes-devtools/elfutils/elfutils_0.183.bb
index 735973c538..085b429540 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.183.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.183.bb
@@ -47,7 +47,7 @@ PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
47PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" 47PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
48PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" 48PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
49 49
50RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils" 50RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar"
51 51
52EXTRA_OECONF_append_class-target = " --disable-tests-rpath" 52EXTRA_OECONF_append_class-target = " --disable-tests-rpath"
53 53
@@ -89,6 +89,7 @@ do_install_ptest() {
89 cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests 89 cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests
90 cp -r ${B}/config.h ${D}${PTEST_PATH} 90 cp -r ${B}/config.h ${D}${PTEST_PATH}
91 cp -r ${B}/backends ${D}${PTEST_PATH} 91 cp -r ${B}/backends ${D}${PTEST_PATH}
92 cp -r ${B}/debuginfod ${D}${PTEST_PATH}
92 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile 93 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
93 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} 94 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
94 fi 95 fi
@@ -145,6 +146,7 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
145 ${PKGD}${PTEST_PATH}/tests/backtrace-data \ 146 ${PKGD}${PTEST_PATH}/tests/backtrace-data \
146 ${PKGD}${PTEST_PATH}/tests/backtrace-dwarf \ 147 ${PKGD}${PTEST_PATH}/tests/backtrace-dwarf \
147 ${PKGD}${PTEST_PATH}/tests/deleted \ 148 ${PKGD}${PTEST_PATH}/tests/deleted \
149 ${PKGD}${PTEST_PATH}/tests/dwfllines \
148 ${PKGD}${PTEST_PATH}/src/strip \ 150 ${PKGD}${PTEST_PATH}/src/strip \
149 ${PKGD}${PTEST_PATH}/src/addr2line \ 151 ${PKGD}${PTEST_PATH}/src/addr2line \
150 ${PKGD}${PTEST_PATH}/src/elfcmp \ 152 ${PKGD}${PTEST_PATH}/src/elfcmp \
@@ -162,4 +164,4 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
162 ${PKGD}${PTEST_PATH}/backends/libebl_x86_64.so \ 164 ${PKGD}${PTEST_PATH}/backends/libebl_x86_64.so \
163" 165"
164 166
165PRIVATE_LIBS_${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1" 167PRIVATE_LIBS_${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1 libdebuginfod.so.1"