summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 789c8bec21..4dde387a8a 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -36,6 +36,23 @@ FILES:${PN}-dev = " \
36# Rather than duplicating multiple entries for these, make one 36# Rather than duplicating multiple entries for these, make one
37# list and reuse it. 37# list and reuse it.
38 38
39GPROFNGS = " \
40 gp-archive \
41 gp-collect-app \
42 gp-display-html \
43 gp-display-src \
44 gp-display-text \
45 gprofng \
46"
47GPROFNG_ALTS ?= ""
48GPROFNG_ALTS:x86 = "${GPROFNGS}"
49GPROFNG_ALTS:x86-64 = "${GPROFNGS}"
50GPROFNG_ALTS:aarch64 = "${GPROFNGS}"
51
52# it disables gprofng for clang and musl in the bb file
53GPROFNG_ALTS:toolchain-clang = ""
54GPROFNG_ALTS:libc-musl = ""
55
39LDGOLD_ALTS ?= "ld.gold dwp" 56LDGOLD_ALTS ?= "ld.gold dwp"
40LDGOLD_ALTS:riscv64 = "" 57LDGOLD_ALTS:riscv64 = ""
41LDGOLD_ALTS:riscv32 = "" 58LDGOLD_ALTS:riscv32 = ""
@@ -48,6 +65,7 @@ USE_ALTERNATIVES_FOR = " \
48 c++filt \ 65 c++filt \
49 elfedit \ 66 elfedit \
50 gprof \ 67 gprof \
68 ${GPROFNG_ALTS} \
51 ld \ 69 ld \
52 ld.bfd \ 70 ld.bfd \
53 ${LDGOLD_ALTS} \ 71 ${LDGOLD_ALTS} \