[yocto] questions about writing a recipe

Jerrod Peach peachj at lexmark.com
Fri Nov 16 00:55:44 PST 2012


On Fri, Nov 16, 2012 at 12:33 AM, Joshua Immanuel <josh at hipro.co.in> wrote:

> Hello Liu,
>
> On Fri, 2012-11-16 at 11:06 +0800, Liu wrote:
> >     I'm writing a recipe and come up with a question.I want to invoke
> > the the workdir of package A in my recipe of package B. I tried to use
> > the variable WORKDIR,but it represent for the workdir of B in the
> > recipe of package B. So is there any good ideas about this ?
>
> IMHO, depending on files from another package's workdir is a bad idea.
>
>
I agree with this -- it's not a good idea to depend on files from another
package's workdir.  If you're needing headers or libraries, you should be
installing those headers or objects to the sysroot and then getting them
from there.

Kind regards,

Jerrod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121116/32bc1553/attachment.html>


More information about the yocto mailing list