[Buildroot] [PATCH] Sets LD_LIBRARY_PATH inside toolchain-wrapper.

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Feb 18 14:30:12 UTC 2018


Hello,

On Fri, 16 Feb 2018 21:43:36 -0300, Daniel Serpell wrote:

> I see that you are using patchelf to make RPATH relative inside host binaries,
> is there any reason to not run that always, or at least in the "make toolchain"
> target?

Because there's no real reason to do that. During the build, the
toolchain and other host tools are not moving, so keeping the absolute
RPATH is fine. It's only when you want to move the toolchain/SDK around
that the rpath needs to be adjusted to be relative RPATH.

> I'm not very good at writing documentation, perhaps the attached patch
> is enough.

Patch looks good. Could you send it with "git send-email", and change
the commit title to something like:

 docs/manual: add documentation for the "make sdk" target

Thanks!

Thoas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com



More information about the buildroot mailing list