diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils_0.174.bb')
| -rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.174.bb | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.174.bb b/meta/recipes-devtools/elfutils/elfutils_0.174.bb new file mode 100644 index 0000000000..88add7b4cc --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils_0.174.bb | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | SUMMARY = "Utilities and libraries for handling compiled object files" | ||
| 2 | HOMEPAGE = "https://sourceware.org/elfutils" | ||
| 3 | SECTION = "base" | ||
| 4 | LICENSE = "(GPLv3 & Elfutils-Exception)" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 6 | DEPENDS = "libtool bzip2 zlib virtual/libintl" | ||
| 7 | DEPENDS_append_libc-musl = " argp-standalone fts " | ||
| 8 | # The Debian patches below are from: | ||
| 9 | # http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz | ||
| 10 | SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | ||
| 11 | file://0001-dso-link-change.patch \ | ||
| 12 | file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \ | ||
| 13 | file://0003-fixheadercheck.patch \ | ||
| 14 | file://0004-Disable-the-test-to-convert-euc-jp.patch \ | ||
| 15 | file://0005-fix-a-stack-usage-warning.patch \ | ||
| 16 | file://0006-Fix-build-on-aarch64-musl.patch \ | ||
| 17 | file://0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch \ | ||
| 18 | file://0001-libasm-may-link-with-libbz2-if-found.patch \ | ||
| 19 | file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \ | ||
| 20 | file://debian/0001-hppa_backend.patch \ | ||
| 21 | file://debian/0001-arm_backend.patch \ | ||
| 22 | file://debian/0001-mips_backend.patch \ | ||
| 23 | file://debian/0001-testsuite-ignore-elflint.patch \ | ||
| 24 | file://debian/0001-mips_readelf_w.patch \ | ||
| 25 | file://debian/0001-Ignore-differences-between-mips-machine-identifiers.patch \ | ||
| 26 | file://debian/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \ | ||
| 27 | file://debian/0003-Add-mips-n64-relocation-format-hack.patch \ | ||
| 28 | file://debian/ignore_strmerge.diff \ | ||
| 29 | file://debian/0001-fix-gcc7-ftbfs.patch \ | ||
| 30 | file://debian/0001-disable_werror.patch \ | ||
| 31 | " | ||
| 32 | SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch" | ||
| 33 | |||
| 34 | SRC_URI[md5sum] = "48bec24c0c8b2c16820326956dff9378" | ||
| 35 | SRC_URI[sha256sum] = "cdf27e70076e10a29539d89e367101d516bc4aa11b0d7777fe52139e3fcad08a" | ||
| 36 | |||
| 37 | inherit autotools gettext | ||
| 38 | |||
| 39 | EXTRA_OECONF = "--program-prefix=eu- --without-lzma" | ||
| 40 | EXTRA_OECONF_append_class-native = " --without-bzlib" | ||
| 41 | |||
| 42 | do_install_append() { | ||
| 43 | if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then | ||
| 44 | rm -f ${D}${bindir}/eu-objdump | ||
| 45 | fi | ||
| 46 | } | ||
| 47 | |||
| 48 | EXTRA_OEMAKE_class-native = "" | ||
| 49 | EXTRA_OEMAKE_class-nativesdk = "" | ||
| 50 | |||
| 51 | ALLOW_EMPTY_${PN}_libc-musl = "1" | ||
| 52 | |||
| 53 | BBCLASSEXTEND = "native nativesdk" | ||
| 54 | |||
| 55 | # Package utilities separately | ||
| 56 | PACKAGES =+ "${PN}-binutils libelf libasm libdw" | ||
| 57 | FILES_${PN}-binutils = "\ | ||
| 58 | ${bindir}/eu-addr2line \ | ||
| 59 | ${bindir}/eu-ld \ | ||
| 60 | ${bindir}/eu-nm \ | ||
| 61 | ${bindir}/eu-readelf \ | ||
| 62 | ${bindir}/eu-size \ | ||
| 63 | ${bindir}/eu-strip" | ||
| 64 | |||
| 65 | FILES_libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*" | ||
| 66 | FILES_libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*" | ||
| 67 | FILES_libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*" | ||
| 68 | # Some packages have the version preceeding the .so instead properly | ||
| 69 | # versioned .so.<version>, so we need to reorder and repackage. | ||
| 70 | #FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so" | ||
| 71 | #FILES_SOLIBSDEV = "${libdir}/libasm.so ${libdir}/libdw.so ${libdir}/libelf.so" | ||
| 72 | |||
| 73 | # The package contains symlinks that trip up insane | ||
| 74 | INSANE_SKIP_${MLPREFIX}libdw = "dev-so" | ||
