mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
@@ -149,6 +149,7 @@ do_gcc_stash_builddir () {
|
||||
# Makefile does move-if-change which can end up with 'timestamp' as file contents so break links to those files
|
||||
rm $dest/gcc/include/*.h
|
||||
cp gcc/include/*.h $dest/gcc/include/
|
||||
sysroot-relativelinks.py $dest
|
||||
}
|
||||
addtask do_gcc_stash_builddir after do_compile before do_install
|
||||
SSTATETASKS += "do_gcc_stash_builddir"
|
||||
|
||||
Reference in New Issue
Block a user