]> code.ossystems Code Review - openembedded-core.git/commit
binutils: Fix relocation of ld.so.conf in nativesdk builds
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Jan 2020 17:21:39 +0000 (17:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Sep 2020 15:56:18 +0000 (16:56 +0100)
commit09a2b16ac2bd1e3e415131e46315c851373aa7e0
tree95507955173cac194e82206550d72aa1a1ce6479
parentab729c362684474a8346e5256d636200826feb47
binutils: Fix relocation of ld.so.conf in nativesdk builds

We need binutils to look at our ld.so.conf file within the SDK to ensure
we search the SDK's libdirs as well as those from the host system.

There add a patch which passes in the directory to the code using a define,
then add it to a section we relocate in a similar way to the way we relocate
the gcc internal paths. This ensures that ld works correctly in our buildtools
tarball.

Standard sysroot relocation doesn't work since we're not in a sysroot,
we want to use both the host system and SDK libs.

(From OE-Core rev: f6c1089642934ad93056ef19a0888965486ee030)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils/nativesdk-relocation.patch [new file with mode: 0644]
meta/recipes-devtools/binutils/binutils_2.32.bb