Skip to content
Commit d0b7811b authored by Richard Purdie's avatar Richard Purdie
Browse files

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: f6c10896)

(From OE-Core rev: 09a2b16a)

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 8de0aee6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment