diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-09-13 13:56:25 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-17 07:47:07 +0100 |
| commit | d4cb35ef5de0167ff82586be418d0ead173c3ac4 (patch) | |
| tree | d4da1654c42b5d9611770d1447f10f0ae0ff776f /meta/recipes-devtools/elfutils/elfutils_0.187.bb | |
| parent | c1c356a9fc2123170ef020f476138aec83858a9e (diff) | |
| download | poky-d4cb35ef5de0167ff82586be418d0ead173c3ac4.tar.gz | |
elfutils: Enable ptests on musl targets
(From OE-Core rev: 554627edbb5db139153b816d24b15422d4d7633d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils_0.187.bb')
| -rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.187.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.187.bb b/meta/recipes-devtools/elfutils/elfutils_0.187.bb index 561112c580..40c51c8814 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.187.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.187.bb | |||
| @@ -21,6 +21,7 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | |||
| 21 | file://run-ptest \ | 21 | file://run-ptest \ |
| 22 | file://ptest.patch \ | 22 | file://ptest.patch \ |
| 23 | file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \ | 23 | file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \ |
| 24 | file://0001-tests-Add-libeu-to-tests-needing-error-API.patch \ | ||
| 24 | " | 25 | " |
| 25 | SRC_URI:append:libc-musl = " \ | 26 | SRC_URI:append:libc-musl = " \ |
| 26 | file://0003-musl-utils.patch \ | 27 | file://0003-musl-utils.patch \ |
| @@ -29,7 +30,6 @@ SRC_URI:append:libc-musl = " \ | |||
| 29 | SRC_URI[sha256sum] = "e70b0dfbe610f90c4d1fe0d71af142a4e25c3c4ef9ebab8d2d72b65159d454c8" | 30 | SRC_URI[sha256sum] = "e70b0dfbe610f90c4d1fe0d71af142a4e25c3c4ef9ebab8d2d72b65159d454c8" |
| 30 | 31 | ||
| 31 | inherit autotools gettext ptest pkgconfig | 32 | inherit autotools gettext ptest pkgconfig |
| 32 | PTEST_ENABLED:libc-musl = "0" | ||
| 33 | 33 | ||
| 34 | EXTRA_OECONF = "--program-prefix=eu-" | 34 | EXTRA_OECONF = "--program-prefix=eu-" |
| 35 | 35 | ||
| @@ -66,6 +66,7 @@ do_install_ptest() { | |||
| 66 | # copy the files which needed by the cases | 66 | # copy the files which needed by the cases |
| 67 | TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip" | 67 | TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip" |
| 68 | install -d -m 755 ${D}${PTEST_PATH}/src | 68 | install -d -m 755 ${D}${PTEST_PATH}/src |
| 69 | install -d -m 755 ${D}${PTEST_PATH}/lib | ||
| 69 | install -d -m 755 ${D}${PTEST_PATH}/libelf | 70 | install -d -m 755 ${D}${PTEST_PATH}/libelf |
| 70 | install -d -m 755 ${D}${PTEST_PATH}/libdw | 71 | install -d -m 755 ${D}${PTEST_PATH}/libdw |
| 71 | install -d -m 755 ${D}${PTEST_PATH}/libdwfl | 72 | install -d -m 755 ${D}${PTEST_PATH}/libdwfl |
| @@ -83,6 +84,7 @@ do_install_ptest() { | |||
| 83 | cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so | 84 | cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so |
| 84 | cp ${B}/libcpu/libcpu.a ${D}${PTEST_PATH}/libcpu/ | 85 | cp ${B}/libcpu/libcpu.a ${D}${PTEST_PATH}/libcpu/ |
| 85 | cp ${B}/libebl/libebl.a ${D}${PTEST_PATH}/libebl/ | 86 | cp ${B}/libebl/libebl.a ${D}${PTEST_PATH}/libebl/ |
| 87 | cp ${B}/lib/libeu.a ${D}${PTEST_PATH}/lib/ | ||
| 86 | cp ${S}/libelf/*.h ${D}${PTEST_PATH}/libelf/ | 88 | cp ${S}/libelf/*.h ${D}${PTEST_PATH}/libelf/ |
| 87 | cp ${S}/libdw/*.h ${D}${PTEST_PATH}/libdw/ | 89 | cp ${S}/libdw/*.h ${D}${PTEST_PATH}/libdw/ |
| 88 | cp ${S}/libdwfl/*.h ${D}${PTEST_PATH}/libdwfl/ | 90 | cp ${S}/libdwfl/*.h ${D}${PTEST_PATH}/libdwfl/ |
