1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

elfutils: Drop obsolete ptest conditional in do_install

The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

(From OE-Core rev: 48af648d9855fec70a1b4baba0970876a0b3163d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2024-09-03 15:08:32 +01:00
parent a57341d6ea
commit d75b116aab
@@ -66,7 +66,6 @@ do_compile_ptest() {
PTEST_PARALLEL_MAKE = "" PTEST_PARALLEL_MAKE = ""
do_install_ptest() { do_install_ptest() {
if [ ${PTEST_ENABLED} = "1" ]; then
# copy the files which needed by the cases # copy the files which needed by the cases
TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip srcfiles" TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip srcfiles"
install -d -m 755 ${D}${PTEST_PATH}/src install -d -m 755 ${D}${PTEST_PATH}/src
@@ -101,7 +100,6 @@ do_install_ptest() {
cp -r ${B}/debuginfod ${D}${PTEST_PATH} cp -r ${B}/debuginfod ${D}${PTEST_PATH}
sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
fi
} }
EXTRA_OEMAKE:class-native = "" EXTRA_OEMAKE:class-native = ""