From: Christopher Larson <kergoth@gmail.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Linking two recipes
Date: Mon, 19 Mar 2012 14:59:33 -0700 [thread overview]
Message-ID: <B0098CE307294E64ABD9A4F359B2382D@gmail.com> (raw)
In-Reply-To: <COL120-W6346678F9768AEFEA35D5EDD420@phx.gbl>
[-- Attachment #1: Type: text/plain, Size: 3447 bytes --]
All installs should be placed relative to ${D}. See one of the many other recipes that define do_install for examples :)
--
Christopher Larson
On Monday, March 19, 2012 at 2:57 PM, simran singh wrote:
> So install something along the lines:
>
> do_install(){
> python configure.py --prefix=${libdir}/botan
> }
>
> When I do that, I get a permission denied error:
> mkdir: cannot create directory /usr/lib/botan
>
> Sorry I am still significantly new to open embedded and bitbake.
>
> Thanks,
> Simran
>
> Date: Mon, 19 Mar 2012 14:39:13 -0700
> From: kergoth@gmail.com (mailto:kergoth@gmail.com)
> To: openembedded-core@lists.openembedded.org (mailto:openembedded-core@lists.openembedded.org)
> Subject: Re: [OE-core] Linking two recipes
>
> /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@linuxfoundation.org (mailto:richard.purdie@linuxfoundation.org)
> > > To: openembedded-core@lists.openembedded.org (mailto:openembedded-core@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@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org)
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org)
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> >
> >
>
>
>
> _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org)
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
[-- Attachment #2: Type: text/html, Size: 5325 bytes --]
next prev parent reply other threads:[~2012-03-19 22:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 20:59 Linking two recipes simran singh
2012-03-19 21:22 ` Richard Purdie
2012-03-19 21:33 ` simran singh
2012-03-19 21:39 ` Christopher Larson
2012-03-19 21:57 ` simran singh
2012-03-19 21:59 ` Christopher Larson [this message]
2012-03-19 22:10 ` simran singh
2012-03-19 22:54 ` Richard Purdie
2012-03-20 19:25 ` simran singh
2012-04-07 3:44 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B0098CE307294E64ABD9A4F359B2382D@gmail.com \
--to=kergoth@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox