diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index e15a12b93e..7d5149fa16 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -15,7 +15,7 @@ DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-nativ | |||
15 | 15 | ||
16 | inherit autotools gettext multilib_header texinfo | 16 | inherit autotools gettext multilib_header texinfo |
17 | 17 | ||
18 | FILES_${PN} = " \ | 18 | FILES:${PN} = " \ |
19 | ${bindir}/${TARGET_PREFIX}* \ | 19 | ${bindir}/${TARGET_PREFIX}* \ |
20 | ${libdir}/lib*.so.* \ | 20 | ${libdir}/lib*.so.* \ |
21 | ${libdir}/bfd-plugins/lib*.so \ | 21 | ${libdir}/bfd-plugins/lib*.so \ |
@@ -23,9 +23,9 @@ FILES_${PN} = " \ | |||
23 | ${prefix}/${TARGET_SYS}/bin/* \ | 23 | ${prefix}/${TARGET_SYS}/bin/* \ |
24 | ${bindir}/embedspu" | 24 | ${bindir}/embedspu" |
25 | 25 | ||
26 | RPROVIDES_${PN} += "${PN}-symlinks" | 26 | RPROVIDES:${PN} += "${PN}-symlinks" |
27 | 27 | ||
28 | FILES_${PN}-dev = " \ | 28 | FILES:${PN}-dev = " \ |
29 | ${includedir} \ | 29 | ${includedir} \ |
30 | ${libdir}/*.la \ | 30 | ${libdir}/*.la \ |
31 | ${libdir}/libbfd.so \ | 31 | ${libdir}/libbfd.so \ |
@@ -37,9 +37,9 @@ FILES_${PN}-dev = " \ | |||
37 | # list and reuse it. | 37 | # list and reuse it. |
38 | 38 | ||
39 | LDGOLD_ALTS ?= "ld.gold dwp" | 39 | LDGOLD_ALTS ?= "ld.gold dwp" |
40 | LDGOLD_ALTS_riscv64 = "" | 40 | LDGOLD_ALTS:riscv64 = "" |
41 | LDGOLD_ALTS_riscv32 = "" | 41 | LDGOLD_ALTS:riscv32 = "" |
42 | LDGOLD_ALTS_libc-glibc_mipsarch = "" | 42 | LDGOLD_ALTS:libc-glibc:mipsarch = "" |
43 | 43 | ||
44 | USE_ALTERNATIVES_FOR = " \ | 44 | USE_ALTERNATIVES_FOR = " \ |
45 | addr2line \ | 45 | addr2line \ |
@@ -61,7 +61,7 @@ USE_ALTERNATIVES_FOR = " \ | |||
61 | strip \ | 61 | strip \ |
62 | " | 62 | " |
63 | 63 | ||
64 | python do_package_prepend() { | 64 | python do_package:prepend() { |
65 | make_alts = d.getVar("USE_ALTERNATIVES_FOR") or "" | 65 | make_alts = d.getVar("USE_ALTERNATIVES_FOR") or "" |
66 | prefix = d.getVar("TARGET_PREFIX") | 66 | prefix = d.getVar("TARGET_PREFIX") |
67 | bindir = d.getVar("bindir") | 67 | bindir = d.getVar("bindir") |
@@ -86,12 +86,12 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | |||
86 | ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" | 86 | ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" |
87 | 87 | ||
88 | EXTRA_TARGETS = "" | 88 | EXTRA_TARGETS = "" |
89 | EXTRA_TARGETS_x86-64 = " --enable-targets=x86_64-pe,x86_64-pep " | 89 | EXTRA_TARGETS:x86-64 = " --enable-targets=x86_64-pe,x86_64-pep " |
90 | EXTRA_TARGETS_class-native = "" | 90 | EXTRA_TARGETS:class-native = "" |
91 | 91 | ||
92 | LDGOLD_class-native = "" | 92 | LDGOLD:class-native = "" |
93 | LDGOLD_class-crosssdk = "" | 93 | LDGOLD:class-crosssdk = "" |
94 | LDGOLD_libc-glibc_mipsarch = "" | 94 | LDGOLD:libc-glibc:mipsarch = "" |
95 | LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" | 95 | LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" |
96 | 96 | ||
97 | 97 | ||
@@ -176,7 +176,7 @@ inherit update-alternatives | |||
176 | 176 | ||
177 | ALTERNATIVE_PRIORITY = "100" | 177 | ALTERNATIVE_PRIORITY = "100" |
178 | 178 | ||
179 | ALTERNATIVE_${PN}_class-target = "${USE_ALTERNATIVES_FOR}" | 179 | ALTERNATIVE:${PN}:class-target = "${USE_ALTERNATIVES_FOR}" |
180 | 180 | ||
181 | python () { | 181 | python () { |
182 | if bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', True, False, d) and bb.utils.contains_any('TARGET_ARCH', 'riscv32 riscv64', True, False, d): | 182 | if bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', True, False, d) and bb.utils.contains_any('TARGET_ARCH', 'riscv32 riscv64', True, False, d): |