[oe] [PATCH] perl_5.8.8.bb: Fix compilation when bindir is not /usr/bin

Phil Blundell philb at gnu.org
Sat Sep 5 20:03:58 UTC 2009


On Sat, 2009-09-05 at 10:55 -0700, Khem Raj wrote:
> On Sat, Sep 5, 2009 at 1:38 AM, Phil Blundell<philb at gnu.org> wrote:
> > On Fri, 2009-09-04 at 16:03 -0700, Khem Raj wrote:
> >> +            -e 's,/usr/,${layout_exec_prefix}/,g' \
> >
> > Why not ${prefix}?
> 
> Nothing against it. I just used whatever distro conf override said.
> prefix and layout_exec_prefix are same as bitbake tells me.

It's generally a bit unwholesome for recipes to be using the layout_xxx
variables.  Semantically, it sounds like ${prefix}, or maybe
${exec_prefix}, is probably what you want.

p.






More information about the Openembedded-devel mailing list