[Buildroot] [PATCH next v6 07/10] core: implement per-package SDK and target

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jan 14 16:33:29 UTC 2019


On Mon, 14 Jan 2019 17:01:44 +0100, Thomas De Schampheleire wrote:

> It seems the code already calls patchelf twice:
>         if ${PATCHELF} --print-rpath "${file}" > /dev/null 2>&1; then
>             # make files writable if necessary
>             changed=$(chmod -c u+w "${file}")
>             # call patchelf to sanitize the rpath
>             ${PATCHELF} --make-rpath-relative "${rootdir}"
> ${sanitize_extra_args[@]} "${file}"
> so by saving the string returned in the first call, we can actually do
> a better transformation ourselves.

My latest iteration (v7) is already saving the string to do some


Best regards,

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list