[oe] [PATCH, RFC] Link with $ORIGIN, mangle only when that's too hard, get it all

Chris Larson clarson at kergoth.com
Tue Jun 22 22:48:03 UTC 2010


On Tue, Jun 22, 2010 at 3:33 PM, Tom Rini <tom_rini at mentor.com> wrote:

> The following changes relocatable.bbclass to an always for native (and
> disabled for cross) to an opt-in for hard to get right recipes.
>
> With this, cross / native things like with $ORIGIN directly, for the common
> case.  We do this as an in addition to so that programs that run before
> install still work fine.  In addition doing this makes sure that the initial
> RPATH will be long enough, even in the cross case, that we can patch in a
> correct $ORIGIN[1].
>
> Advantages? Less tasks, one less must have host utility (*cough*3rd party
> yum repos*cough*).  Having an exists but not right second known part of
> RPATH ensures cross recipes are now chrpath/patchelf patchable and gets us
> one step closer to pstaging being relocatable (will have to run some tests
> to look at the last corner cases).  Disadvantages? One "ugly" escape
> sequence in bitbake.conf.
>
> Signed-off-by: Tom Rini <tom_rini at mentor.com>


Looks like a definite improvement to me.

Acked-by: Chris Larson <chris_larson at mentor.com>
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list