summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-21 15:27:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-17 19:57:32 +0100
commitabbbc8712937fdda93df04b460f8f9e8277f8c21 (patch)
treeb029638c8a34fdcc483a86b6d8acf736ecf2edc1 /meta/recipes-devtools/gcc
parenta1190be53ad848b61509041c803cc0f92f238435 (diff)
downloadpoky-abbbc8712937fdda93df04b460f8f9e8277f8c21.tar.gz
gcc-cross: Fix relative links
Now that we're using absolute paths to run configure, there are absolute path symlinks within gcc's output. Use our script that fixes these so that the sstate objects work correctly. (From OE-Core rev: 78f0bb21ae4337fdf628b2436c6182c32ed4fa9d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 3ffa1f0c46..a540fb2434 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -149,6 +149,7 @@ do_gcc_stash_builddir () {
149 # Makefile does move-if-change which can end up with 'timestamp' as file contents so break links to those files 149 # Makefile does move-if-change which can end up with 'timestamp' as file contents so break links to those files
150 rm $dest/gcc/include/*.h 150 rm $dest/gcc/include/*.h
151 cp gcc/include/*.h $dest/gcc/include/ 151 cp gcc/include/*.h $dest/gcc/include/
152 sysroot-relativelinks.py $dest
152} 153}
153addtask do_gcc_stash_builddir after do_compile before do_install 154addtask do_gcc_stash_builddir after do_compile before do_install
154SSTATETASKS += "do_gcc_stash_builddir" 155SSTATETASKS += "do_gcc_stash_builddir"