From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-gy0-f175.google.com ([209.85.160.175]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kQz-0004L1-DB for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 22:48:09 +0100 Received: by ghbz2 with SMTP id z2so5831092ghb.6 for ; Mon, 19 Mar 2012 14:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=1gxlfjFcIyRkGTkQTrAsO7K2ntxWdhBqGnTcDbHGeTQ=; b=jwVylMNvwz6GogGh1VH7kqz1ueIxhU7ZixBnLqVy0LcLKoVVqEUWmgMBFR2CS26xL/ 6SMZryIk+0efV6E7n2Zlb+/NnGngp+iFbTkV0YxzZ3m+N5/OumQ9LT5s5DIVdezbJAP4 m854fpwh1ASSiYb2ED6OXjqv3pI2E32l8SNpMyNa4sAVP0XQYq4xQJ6qYCdKg/O5cJ8N UjnQUAuRKP/kPBq51J2MneI5kUdpZRpY6mE2x0V46HIwUdR0ZyEAxeQA1A8fG0O0Mp6z Z4meyVEc/qRZDeNSx/CdHOI20zR+5fv2s9dnrD9HwIQXp2HiP17nlRcWnkos6GaqM2uS j9vg== Received: by 10.60.30.66 with SMTP id q2mr15360994oeh.25.1332193157259; Mon, 19 Mar 2012 14:39:17 -0700 (PDT) Received: from frey.local (ip68-110-79-242.ph.ph.cox.net. [68.110.79.242]) by mx.google.com with ESMTPS id g4sm10992685oeg.5.2012.03.19.14.39.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 14:39:16 -0700 (PDT) Date: Mon, 19 Mar 2012 14:39:13 -0700 From: Christopher Larson To: Patches and discussions about the oe-core layer Message-ID: In-Reply-To: References: <,> <1332192150.9740.72.camel@ted> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 21:48:09 -0000 Content-Type: multipart/alternative; boundary="4f67a781_4db127f8_aa0" --4f67a781_4db127f8_aa0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline /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 > > --4f67a781_4db127f8_aa0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
/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 L= arson

=20

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

Hello Richard,

I did try the DEPENDS variable before b= ut still doesnt solve the problem.
A configure script in recipe= B has to run a program that is built under =24=7BD=7D/usr/botan by recip= e A. 
Even if i pass the path to the configure script, it = is unable to find the script. ./configure --with-botan=3D............./us= r/botan
Thanks.

Simran

<= br>
> =46rom: richard.purdie=40linuxfoundation.org
> To: openembedded-core=40= lists.openembedded.org
> Date: Mon, 19 Mar 2012 21:22:30 +0000<= br>> Subject: Re: =5BOE-core=5D Linking two recipes
>
> O= n 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 in= stalled by Recipe
> > A.
> > How do I acknowledge this = dependency in Recipe B. I tried doing
> > do=5Fstage() function = in recipe A with no success. Please advice.
> > I am attaching t= he two recipes.
> > Thank you for any help.
>
> rec= ipe B needs to do:
>
> DEPENDS +=3D =22recipeA=22
> > Cheers,
>
> Richard
>
>
>
>= ; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
= > Openembedded-core mailing list
> Openembedded-core=40lists.openembedd= ed.org
> http://lists.linuxtogo.org/cgi-bin/mailma= n/listinfo/openembedded-core
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F
Openembedded-core mailing list
=20 =20 =20 =20
=20

--4f67a781_4db127f8_aa0--