diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils_0.185.bb')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.185.bb | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.185.bb b/meta/recipes-devtools/elfutils/elfutils_0.185.bb index b1ffbc18bf..3e06e7b200 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.185.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.185.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | |||
7 | file://debuginfod/debuginfod-client.c;endline=27;md5=f8e9d171c401c493ec45a0b2992ea2ed \ | 7 | file://debuginfod/debuginfod-client.c;endline=27;md5=f8e9d171c401c493ec45a0b2992ea2ed \ |
8 | " | 8 | " |
9 | DEPENDS = "zlib virtual/libintl" | 9 | DEPENDS = "zlib virtual/libintl" |
10 | DEPENDS_append_libc-musl = " argp-standalone fts musl-obstack " | 10 | DEPENDS:append:libc-musl = " argp-standalone fts musl-obstack " |
11 | # The Debian patches below are from: | 11 | # The Debian patches below are from: |
12 | # http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz | 12 | # http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz |
13 | SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | 13 | SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ |
@@ -23,7 +23,7 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | |||
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-debuginfod-debuginfod-client.c-correct-string-format.patch \ | 24 | file://0001-debuginfod-debuginfod-client.c-correct-string-format.patch \ |
25 | " | 25 | " |
26 | SRC_URI_append_libc-musl = " \ | 26 | SRC_URI:append:libc-musl = " \ |
27 | file://0002-musl-libs.patch \ | 27 | file://0002-musl-libs.patch \ |
28 | file://0003-musl-utils.patch \ | 28 | file://0003-musl-utils.patch \ |
29 | file://0004-Fix-error-on-musl.patch \ | 29 | file://0004-Fix-error-on-musl.patch \ |
@@ -36,7 +36,7 @@ inherit autotools gettext ptest pkgconfig | |||
36 | EXTRA_OECONF = "--program-prefix=eu-" | 36 | EXTRA_OECONF = "--program-prefix=eu-" |
37 | 37 | ||
38 | DEPENDS_BZIP2 = "bzip2-replacement-native" | 38 | DEPENDS_BZIP2 = "bzip2-replacement-native" |
39 | DEPENDS_BZIP2_class-target = "bzip2" | 39 | DEPENDS_BZIP2:class-target = "bzip2" |
40 | 40 | ||
41 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)}" | 41 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)}" |
42 | PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" | 42 | PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" |
@@ -44,11 +44,11 @@ PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz" | |||
44 | PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" | 44 | PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" |
45 | PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" | 45 | PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" |
46 | 46 | ||
47 | RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar" | 47 | RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar" |
48 | 48 | ||
49 | EXTRA_OECONF_append_class-target = " --disable-tests-rpath" | 49 | EXTRA_OECONF:append:class-target = " --disable-tests-rpath" |
50 | 50 | ||
51 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" | 51 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils" |
52 | 52 | ||
53 | do_compile_ptest() { | 53 | do_compile_ptest() { |
54 | cd ${B}/tests | 54 | cd ${B}/tests |
@@ -92,8 +92,8 @@ do_install_ptest() { | |||
92 | fi | 92 | fi |
93 | } | 93 | } |
94 | 94 | ||
95 | EXTRA_OEMAKE_class-native = "" | 95 | EXTRA_OEMAKE:class-native = "" |
96 | EXTRA_OEMAKE_class-nativesdk = "" | 96 | EXTRA_OEMAKE:class-nativesdk = "" |
97 | 97 | ||
98 | BBCLASSEXTEND = "native nativesdk" | 98 | BBCLASSEXTEND = "native nativesdk" |
99 | 99 | ||
@@ -105,14 +105,14 @@ PACKAGES =+ "${PN}-binutils libelf libasm libdw libdebuginfod" | |||
105 | # "The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone | 105 | # "The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone |
106 | # programs. There is now also a formal CONTRIBUTING document describing how to | 106 | # programs. There is now also a formal CONTRIBUTING document describing how to |
107 | # submit patches." | 107 | # submit patches." |
108 | LICENSE_${PN}-binutils = "GPLv3+" | 108 | LICENSE:${PN}-binutils = "GPLv3+" |
109 | LICENSE_${PN} = "GPLv3+" | 109 | LICENSE:${PN} = "GPLv3+" |
110 | LICENSE_libelf = "GPLv2 | LGPLv3+" | 110 | LICENSE:libelf = "GPLv2 | LGPLv3+" |
111 | LICENSE_libasm = "GPLv2 | LGPLv3+" | 111 | LICENSE:libasm = "GPLv2 | LGPLv3+" |
112 | LICENSE_libdw = "GPLv2 | LGPLv3+" | 112 | LICENSE:libdw = "GPLv2 | LGPLv3+" |
113 | LICENSE_libdebuginfod = "GPLv2+ | LGPLv3+" | 113 | LICENSE:libdebuginfod = "GPLv2+ | LGPLv3+" |
114 | 114 | ||
115 | FILES_${PN}-binutils = "\ | 115 | FILES:${PN}-binutils = "\ |
116 | ${bindir}/eu-addr2line \ | 116 | ${bindir}/eu-addr2line \ |
117 | ${bindir}/eu-ld \ | 117 | ${bindir}/eu-ld \ |
118 | ${bindir}/eu-nm \ | 118 | ${bindir}/eu-nm \ |
@@ -120,19 +120,19 @@ FILES_${PN}-binutils = "\ | |||
120 | ${bindir}/eu-size \ | 120 | ${bindir}/eu-size \ |
121 | ${bindir}/eu-strip" | 121 | ${bindir}/eu-strip" |
122 | 122 | ||
123 | FILES_libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*" | 123 | FILES:libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*" |
124 | FILES_libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*" | 124 | FILES:libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*" |
125 | FILES_libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*" | 125 | FILES:libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*" |
126 | FILES_libdebuginfod = "${libdir}/libdebuginfod-${PV}.so ${libdir}/libdebuginfod.so.*" | 126 | FILES:libdebuginfod = "${libdir}/libdebuginfod-${PV}.so ${libdir}/libdebuginfod.so.*" |
127 | # Some packages have the version preceeding the .so instead properly | 127 | # Some packages have the version preceeding the .so instead properly |
128 | # versioned .so.<version>, so we need to reorder and repackage. | 128 | # versioned .so.<version>, so we need to reorder and repackage. |
129 | #FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so" | 129 | #FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so" |
130 | #FILES_SOLIBSDEV = "${libdir}/libasm.so ${libdir}/libdw.so ${libdir}/libelf.so" | 130 | #FILES_SOLIBSDEV = "${libdir}/libasm.so ${libdir}/libdw.so ${libdir}/libelf.so" |
131 | 131 | ||
132 | # The package contains symlinks that trip up insane | 132 | # The package contains symlinks that trip up insane |
133 | INSANE_SKIP_${MLPREFIX}libdw = "dev-so" | 133 | INSANE_SKIP:${MLPREFIX}libdw = "dev-so" |
134 | # The nlist binary in the tests uses explicitly minimal compiler flags | 134 | # The nlist binary in the tests uses explicitly minimal compiler flags |
135 | INSANE_SKIP_${PN}-ptest += "ldflags" | 135 | INSANE_SKIP:${PN}-ptest += "ldflags" |
136 | 136 | ||
137 | # avoid stripping some generated binaries otherwise some of the tests such as test-nlist, | 137 | # avoid stripping some generated binaries otherwise some of the tests such as test-nlist, |
138 | # run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail | 138 | # run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail |
@@ -161,4 +161,4 @@ INHIBIT_PACKAGE_STRIP_FILES = "\ | |||
161 | ${PKGD}${PTEST_PATH}/backends/libebl_x86_64.so \ | 161 | ${PKGD}${PTEST_PATH}/backends/libebl_x86_64.so \ |
162 | " | 162 | " |
163 | 163 | ||
164 | PRIVATE_LIBS_${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1 libdebuginfod.so.1" | 164 | PRIVATE_LIBS:${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1 libdebuginfod.so.1" |