summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/elfutils
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.185.bb46
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 "
9DEPENDS = "zlib virtual/libintl" 9DEPENDS = "zlib virtual/libintl"
10DEPENDS_append_libc-musl = " argp-standalone fts musl-obstack " 10DEPENDS: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
13SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ 13SRC_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 "
26SRC_URI_append_libc-musl = " \ 26SRC_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
36EXTRA_OECONF = "--program-prefix=eu-" 36EXTRA_OECONF = "--program-prefix=eu-"
37 37
38DEPENDS_BZIP2 = "bzip2-replacement-native" 38DEPENDS_BZIP2 = "bzip2-replacement-native"
39DEPENDS_BZIP2_class-target = "bzip2" 39DEPENDS_BZIP2:class-target = "bzip2"
40 40
41PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)}" 41PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)}"
42PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" 42PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}"
@@ -44,11 +44,11 @@ PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
44PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" 44PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
45PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" 45PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
46 46
47RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar" 47RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar"
48 48
49EXTRA_OECONF_append_class-target = " --disable-tests-rpath" 49EXTRA_OECONF:append:class-target = " --disable-tests-rpath"
50 50
51RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" 51RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils"
52 52
53do_compile_ptest() { 53do_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
95EXTRA_OEMAKE_class-native = "" 95EXTRA_OEMAKE:class-native = ""
96EXTRA_OEMAKE_class-nativesdk = "" 96EXTRA_OEMAKE:class-nativesdk = ""
97 97
98BBCLASSEXTEND = "native nativesdk" 98BBCLASSEXTEND = "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."
108LICENSE_${PN}-binutils = "GPLv3+" 108LICENSE:${PN}-binutils = "GPLv3+"
109LICENSE_${PN} = "GPLv3+" 109LICENSE:${PN} = "GPLv3+"
110LICENSE_libelf = "GPLv2 | LGPLv3+" 110LICENSE:libelf = "GPLv2 | LGPLv3+"
111LICENSE_libasm = "GPLv2 | LGPLv3+" 111LICENSE:libasm = "GPLv2 | LGPLv3+"
112LICENSE_libdw = "GPLv2 | LGPLv3+" 112LICENSE:libdw = "GPLv2 | LGPLv3+"
113LICENSE_libdebuginfod = "GPLv2+ | LGPLv3+" 113LICENSE:libdebuginfod = "GPLv2+ | LGPLv3+"
114 114
115FILES_${PN}-binutils = "\ 115FILES:${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
123FILES_libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*" 123FILES:libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*"
124FILES_libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*" 124FILES:libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*"
125FILES_libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*" 125FILES:libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*"
126FILES_libdebuginfod = "${libdir}/libdebuginfod-${PV}.so ${libdir}/libdebuginfod.so.*" 126FILES: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
133INSANE_SKIP_${MLPREFIX}libdw = "dev-so" 133INSANE_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
135INSANE_SKIP_${PN}-ptest += "ldflags" 135INSANE_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
164PRIVATE_LIBS_${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1 libdebuginfod.so.1" 164PRIVATE_LIBS:${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1 libdebuginfod.so.1"