[OE-core] Linking two recipes

Christopher Larson kergoth at gmail.com
Mon Mar 19 21:39:13 UTC 2012


/usr/botan isn't a path that'll be placed into the sysroot, which is the standard mechanism by which files from dependencies are accessed (e.g. headers, shared libraries, native scripts). You should install to more standard system locations.

-- 
Christopher Larson


On Monday, March 19, 2012 at 2:33 PM, simran singh wrote:

> Hello Richard,
> 
> I did try the DEPENDS variable before but still doesnt solve the problem.
> A configure script in recipe B has to run a program that is built under ${D}/usr/botan by recipe A. 
> Even if i pass the path to the configure script, it is unable to find the script. ./configure --with-botan=............./usr/botan
> Thanks.
> 
> Simran
> 
> 
> > From: richard.purdie at linuxfoundation.org (mailto:richard.purdie at linuxfoundation.org)
> > To: openembedded-core at lists.openembedded.org (mailto:openembedded-core at lists.openembedded.org)
> > Date: Mon, 19 Mar 2012 21:22:30 +0000
> > Subject: Re: [OE-core] Linking two recipes
> > 
> > On Mon, 2012-03-19 at 13:59 -0700, simran singh wrote:
> > > Hello,
> > > I have recipes for two applications Recipe A and Recipe B. Recipe B
> > > requires a lib.so file and init.h file which are installed by Recipe
> > > A.
> > > How do I acknowledge this dependency in Recipe B. I tried doing
> > > do_stage() function in recipe A with no success. Please advice.
> > > I am attaching the two recipes.
> > > Thank you for any help.
> > 
> > recipe B needs to do:
> > 
> > DEPENDS += "recipeA"
> > 
> > Cheers,
> > 
> > Richard
> > 
> > 
> > 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org (mailto:Openembedded-core at lists.openembedded.org)
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org (mailto:Openembedded-core at lists.openembedded.org)
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120319/9fa0c7ca/attachment-0002.html>


More information about the Openembedded-core mailing list