diff options
| -rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.170.bb | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.170.bb b/meta/recipes-devtools/elfutils/elfutils_0.170.bb index 54d341d190..14ac22ee64 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.170.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.170.bb | |||
| @@ -5,6 +5,8 @@ LICENSE = "(GPLv3 & Elfutils-Exception)" | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | DEPENDS = "libtool bzip2 zlib virtual/libintl" | 6 | DEPENDS = "libtool bzip2 zlib virtual/libintl" |
| 7 | DEPENDS_append_libc-musl = " argp-standalone fts " | 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.168-0.2.debian.tar.xz | ||
| 8 | SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | 10 | SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ |
| 9 | file://0001-dso-link-change.patch \ | 11 | file://0001-dso-link-change.patch \ |
| 10 | file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \ | 12 | file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \ |
| @@ -24,19 +26,10 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | |||
| 24 | file://0001-Use-fallthrough-attribute.patch \ | 26 | file://0001-Use-fallthrough-attribute.patch \ |
| 25 | file://0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch \ | 27 | file://0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch \ |
| 26 | " | 28 | " |
| 29 | SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch" | ||
| 27 | SRC_URI[md5sum] = "03599aee98c9b726c7a732a2dd0245d5" | 30 | SRC_URI[md5sum] = "03599aee98c9b726c7a732a2dd0245d5" |
| 28 | SRC_URI[sha256sum] = "1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066" | 31 | SRC_URI[sha256sum] = "1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066" |
| 29 | 32 | ||
| 30 | SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch" | ||
| 31 | |||
| 32 | # Pick patches from debian | ||
| 33 | # http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.168-0.2.debian.tar.xz | ||
| 34 | # Fix fallthrough with GCC7 | ||
| 35 | |||
| 36 | # The buildsystem wants to generate 2 .h files from source using a binary it just built, | ||
| 37 | # which can not pass the cross compiling, so let's work around it by adding 2 .h files | ||
| 38 | # along with the do_configure_prepend() | ||
| 39 | |||
| 40 | inherit autotools gettext | 33 | inherit autotools gettext |
| 41 | 34 | ||
| 42 | EXTRA_OECONF = "--program-prefix=eu- --without-lzma" | 35 | EXTRA_OECONF = "--program-prefix=eu- --without-lzma" |
