diff options
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 18 |
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 | ||
| 39 | GPROFNGS = " \ | ||
| 40 | gp-archive \ | ||
| 41 | gp-collect-app \ | ||
| 42 | gp-display-html \ | ||
| 43 | gp-display-src \ | ||
| 44 | gp-display-text \ | ||
| 45 | gprofng \ | ||
| 46 | " | ||
| 47 | GPROFNG_ALTS ?= "" | ||
| 48 | GPROFNG_ALTS:x86 = "${GPROFNGS}" | ||
| 49 | GPROFNG_ALTS:x86-64 = "${GPROFNGS}" | ||
| 50 | GPROFNG_ALTS:aarch64 = "${GPROFNGS}" | ||
| 51 | |||
| 52 | # it disables gprofng for clang and musl in the bb file | ||
| 53 | GPROFNG_ALTS:toolchain-clang = "" | ||
| 54 | GPROFNG_ALTS:libc-musl = "" | ||
| 55 | |||
| 39 | LDGOLD_ALTS ?= "ld.gold dwp" | 56 | LDGOLD_ALTS ?= "ld.gold dwp" |
| 40 | LDGOLD_ALTS:riscv64 = "" | 57 | LDGOLD_ALTS:riscv64 = "" |
| 41 | LDGOLD_ALTS:riscv32 = "" | 58 | LDGOLD_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} \ |
