diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-03-12 13:13:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-17 17:09:22 +0000 |
commit | a2c9bc2a75398381315b393208ceab9340675b6e (patch) | |
tree | 8d1ec8e9c8e370ec8584b74c3a3839e9fab4ae69 | |
parent | 6610cad12a062592956257961a790ec6a3012b8b (diff) | |
download | poky-a2c9bc2a75398381315b393208ceab9340675b6e.tar.gz |
gcc-cross,gcc-cross-canadian: Drop symlinking gold linker
Its not being built by binutils anymore
(From OE-Core rev: b51c98d75437a4497fc727c1201b3f8d124deafa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 9b55ec21e0..20dbec7248 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |||
@@ -132,7 +132,7 @@ do_install () { | |||
132 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ | 132 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ |
133 | install -d $dest | 133 | install -d $dest |
134 | suffix=${EXEEXT} | 134 | suffix=${EXEEXT} |
135 | for t in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do | 135 | for t in ar as ld ld.bfd nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do |
136 | if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then | 136 | if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then |
137 | continue | 137 | continue |
138 | fi | 138 | fi |
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 7afdf58577..54a1d3d85c 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
@@ -94,7 +94,7 @@ do_install () { | |||
94 | # found. These need to be relative paths so they work in different locations. | 94 | # found. These need to be relative paths so they work in different locations. |
95 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ | 95 | dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ |
96 | install -d $dest | 96 | install -d $dest |
97 | for t in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip gcc cpp $fortsymlinks; do | 97 | for t in ar as ld ld.bfd nm objcopy objdump ranlib strip gcc cpp $fortsymlinks; do |
98 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t | 98 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t |
99 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t | 99 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t |
100 | done | 100 | done |