Re: [yocto] Integration of custom recipe with SDK

2014-10-08 Thread Navani Srivastava
>>when populate_sdk gives you an SDK I dont understand why this is a
requirement
Now i remember.. This link was the reason that I was not using populate_sdk
to build SDK for me..
 "https://lists.yoctoproject.org/pipermail/yocto/2013-August/015771.html";

I still tried to build through populate_sdk and have faced the same issue
in SDK as mentioned in the link.

Regards
Navani

On Fri, Sep 26, 2014 at 8:53 AM, Khem Raj  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>
> On 9/24/14 5:01 AM, Navani Srivastava wrote:
> > Removing integration of meta-toolchain-qte from my image helped in
> building
> > qjson as a part of SDK when running bitbake -c populate_sdk -v 
> or
> > bitbake .
> >
>
> OK. Thats what is expected.
>
> > Integration of meta-toolchain-qte might need some more modifications.
> >
> > Still as a requirement, I need to integrate my custom recipe with
> > meta-toolchain-qte to generate SDK having custom recipe as a tool.
>
> when populate_sdk gives you an SDK I dont understand why this is a
> requirement
>
>  I have
> > created nativesdk bb file for custom recipe to integrate it via
> > nativesdk-packagegroup-qte-toolchain-host.bb but no luck..
> >
> > On Wed, Sep 24, 2014 at 1:14 PM, Navani Srivastava <
> > navani.srivast...@gmail.com> wrote:
> >
> >> Yes.. i did...
> >> On 24 Sep 2014 12:56, "Paul Eggleton" 
> >> wrote:
> >>
> >>> On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
>  I corrected FILES_${PN} and added following in my image recipe-
>  QTNAME = "qte"
>  QT_DIR_NAME = "qtopia"
>  require recipes-qt/meta/meta-toolchain-qt.bb
> 
>  but that didn't make any difference related to SDK integration. On
>  executing 'bitbake -v ', it is generating rootfs and sdk,
> >>> in
>  which contains rootfs contains qjson libraries but sdk doesn't
> integrate
>  anything.
> >>>
> >>> To generate the SDK you'd need to also do bitbake -c populate_sdk
> >>> 
> >>> - you did do that as well after making the changes to the recipe,
> right ?
> >>>
> >>> Cheers,
> >>> Paul
> >>>
> >>> --
> >>>
> >>> Paul Eggleton
> >>> Intel Open Source Technology Centre
> >>>
> >>
> >
>
> - --
> - -Khem
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
>
> iEYEARECAAYFAlQk3CoACgkQuwUzVZGdMxS3EgCfVUdFehr4kmLrXfLy6jN25Q0e
> YSAAn3Dhe/y2xVpFYtpTtDMGCA7qOQR5
> =FZTr
> -END PGP SIGNATURE-
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-25 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 9/24/14 5:01 AM, Navani Srivastava wrote:
> Removing integration of meta-toolchain-qte from my image helped in building
> qjson as a part of SDK when running bitbake -c populate_sdk -v  or
> bitbake .
> 

OK. Thats what is expected.

> Integration of meta-toolchain-qte might need some more modifications.
> 
> Still as a requirement, I need to integrate my custom recipe with
> meta-toolchain-qte to generate SDK having custom recipe as a tool.

when populate_sdk gives you an SDK I dont understand why this is a
requirement

 I have
> created nativesdk bb file for custom recipe to integrate it via
> nativesdk-packagegroup-qte-toolchain-host.bb but no luck..
> 
> On Wed, Sep 24, 2014 at 1:14 PM, Navani Srivastava <
> navani.srivast...@gmail.com> wrote:
> 
>> Yes.. i did...
>> On 24 Sep 2014 12:56, "Paul Eggleton" 
>> wrote:
>>
>>> On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
 I corrected FILES_${PN} and added following in my image recipe-
 QTNAME = "qte"
 QT_DIR_NAME = "qtopia"
 require recipes-qt/meta/meta-toolchain-qt.bb

 but that didn't make any difference related to SDK integration. On
 executing 'bitbake -v ', it is generating rootfs and sdk,
>>> in
 which contains rootfs contains qjson libraries but sdk doesn't integrate
 anything.
>>>
>>> To generate the SDK you'd need to also do bitbake -c populate_sdk
>>> 
>>> - you did do that as well after making the changes to the recipe, right ?
>>>
>>> Cheers,
>>> Paul
>>>
>>> --
>>>
>>> Paul Eggleton
>>> Intel Open Source Technology Centre
>>>
>>
> 

- -- 
- -Khem
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iEYEARECAAYFAlQk3CoACgkQuwUzVZGdMxS3EgCfVUdFehr4kmLrXfLy6jN25Q0e
YSAAn3Dhe/y2xVpFYtpTtDMGCA7qOQR5
=FZTr
-END PGP SIGNATURE-
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-24 Thread Navani Srivastava
Removing integration of meta-toolchain-qte from my image helped in building
qjson as a part of SDK when running bitbake -c populate_sdk -v  or
bitbake .

Integration of meta-toolchain-qte might need some more modifications.

Still as a requirement, I need to integrate my custom recipe with
meta-toolchain-qte to generate SDK having custom recipe as a tool. I have
created nativesdk bb file for custom recipe to integrate it via
nativesdk-packagegroup-qte-toolchain-host.bb but no luck..

On Wed, Sep 24, 2014 at 1:14 PM, Navani Srivastava <
navani.srivast...@gmail.com> wrote:

> Yes.. i did...
> On 24 Sep 2014 12:56, "Paul Eggleton" 
> wrote:
>
>> On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
>> > I corrected FILES_${PN} and added following in my image recipe-
>> > QTNAME = "qte"
>> > QT_DIR_NAME = "qtopia"
>> > require recipes-qt/meta/meta-toolchain-qt.bb
>> >
>> > but that didn't make any difference related to SDK integration. On
>> > executing 'bitbake -v ', it is generating rootfs and sdk,
>> in
>> > which contains rootfs contains qjson libraries but sdk doesn't integrate
>> > anything.
>>
>> To generate the SDK you'd need to also do bitbake -c populate_sdk
>> 
>> - you did do that as well after making the changes to the recipe, right ?
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-24 Thread Navani Srivastava
Yes.. i did...
On 24 Sep 2014 12:56, "Paul Eggleton"  wrote:

> On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
> > I corrected FILES_${PN} and added following in my image recipe-
> > QTNAME = "qte"
> > QT_DIR_NAME = "qtopia"
> > require recipes-qt/meta/meta-toolchain-qt.bb
> >
> > but that didn't make any difference related to SDK integration. On
> > executing 'bitbake -v ', it is generating rootfs and sdk, in
> > which contains rootfs contains qjson libraries but sdk doesn't integrate
> > anything.
>
> To generate the SDK you'd need to also do bitbake -c populate_sdk
> 
> - you did do that as well after making the changes to the recipe, right ?
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-24 Thread Paul Eggleton
On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
> I corrected FILES_${PN} and added following in my image recipe-
> QTNAME = "qte"
> QT_DIR_NAME = "qtopia"
> require recipes-qt/meta/meta-toolchain-qt.bb
> 
> but that didn't make any difference related to SDK integration. On
> executing 'bitbake -v ', it is generating rootfs and sdk, in
> which contains rootfs contains qjson libraries but sdk doesn't integrate
> anything.

To generate the SDK you'd need to also do bitbake -c populate_sdk  
- you did do that as well after making the changes to the recipe, right ?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-23 Thread Navani Srivastava
I corrected FILES_${PN} and added following in my image recipe-
QTNAME = "qte"
QT_DIR_NAME = "qtopia"
require recipes-qt/meta/meta-toolchain-qt.bb

but that didn't make any difference related to SDK integration. On
executing 'bitbake -v ', it is generating rootfs and sdk, in
which contains rootfs contains qjson libraries but sdk doesn't integrate
anything.

On Tue, Sep 23, 2014 at 11:24 AM, Khem Raj  wrote:

> On Mon, Sep 22, 2014 at 9:26 PM, Navani Srivastava
>  wrote:
> > Please find the recipe attached herewith for qjson. This recipe is
> helpful
> > to work with qt4-embedded as qt4 doesn't have qjson feature in built.
> > I tried 'bitbake -c populate_sdk ' but it has not integrated
> qjson
> > package along. I am suspecting qjson recipe now. Am i missing anything in
> > attached recipe which is blocking me to integrate qjson in SDK?
> >
>
> Have you made sure that qjson is otherwise included into your image ?
> I see that FILES_${PN} is being overwritten twice may be you want +=
> in second place.
>
>
> > Navani
> >
> > On Mon, Sep 22, 2014 at 2:48 PM, Navani Srivastava
> >  wrote:
> >>
> >> I will follow the suggestion given by you and will update the result.
> >> However in case if I want to integrate custom recipe with
> >> meta-toolchain-qte, is there any example existing which can help me in
> >> understanding?
> >>
> >> Right now I am following the procedure given by Randy but some example
> >> could be of a great help!!
> >>
> >> Regards
> >>
> >> Navani
> >>
> >>
> >> On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton
> >>  wrote:
> >>>
> >>> On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
> >>> > On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
> >>> > paul.eggle...@linux.intel.com> wrote:
> >>> > > On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
> >>> > > > We are not using populatesdk ... we need to generate it through
> >>> > > > meta-toolchain-qte only so i am trying with the solution provided
> >>> > > > by
> >>> > > > randy..
> >>> > >
> >>> > > Can I ask why? I'd like to understand where -c populate_sdk needs
> >>> > > further
> >>> > > improvement.
> >>> >
> >>> > I have to generate toolchain which contain qt related tools also like
> >>> > qmake
> >>> > and qjson, so we are using meta-toolchain-qte to generate the
> >>> > toolchain..
> >>> > Do you suggest it's better to integrate meta-toolchain-qte somehow
> with
> >>> > populate_sdk so that we can make life easier?
> >>>
> >>> It is possible to integrate the two - all you need to do is ensure the
> >>> extra
> >>> qte tools get added to the SDK. One way to achieve this would be to add
> >>> the
> >>> following to your image recipe:
> >>>
> >>> QTNAME = "qte"
> >>> QT_DIR_NAME = "qtopia"
> >>> require recipes-qt/meta/meta-toolchain-qt.inc
> >>>
> >>> (I haven't tested this so I'm not 100% sure if it will work, but it
> >>> should.)
> >>>
> >>> Cheers,
> >>> Paul
> >>>
> >>>
> >>> --
> >>>
> >>> Paul Eggleton
> >>> Intel Open Source Technology Centre
> >>
> >>
> >
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Khem Raj
On Mon, Sep 22, 2014 at 9:26 PM, Navani Srivastava
 wrote:
> Please find the recipe attached herewith for qjson. This recipe is helpful
> to work with qt4-embedded as qt4 doesn't have qjson feature in built.
> I tried 'bitbake -c populate_sdk ' but it has not integrated qjson
> package along. I am suspecting qjson recipe now. Am i missing anything in
> attached recipe which is blocking me to integrate qjson in SDK?
>

Have you made sure that qjson is otherwise included into your image ?
I see that FILES_${PN} is being overwritten twice may be you want +=
in second place.


> Navani
>
> On Mon, Sep 22, 2014 at 2:48 PM, Navani Srivastava
>  wrote:
>>
>> I will follow the suggestion given by you and will update the result.
>> However in case if I want to integrate custom recipe with
>> meta-toolchain-qte, is there any example existing which can help me in
>> understanding?
>>
>> Right now I am following the procedure given by Randy but some example
>> could be of a great help!!
>>
>> Regards
>>
>> Navani
>>
>>
>> On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton
>>  wrote:
>>>
>>> On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
>>> > On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
>>> > paul.eggle...@linux.intel.com> wrote:
>>> > > On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
>>> > > > We are not using populatesdk ... we need to generate it through
>>> > > > meta-toolchain-qte only so i am trying with the solution provided
>>> > > > by
>>> > > > randy..
>>> > >
>>> > > Can I ask why? I'd like to understand where -c populate_sdk needs
>>> > > further
>>> > > improvement.
>>> >
>>> > I have to generate toolchain which contain qt related tools also like
>>> > qmake
>>> > and qjson, so we are using meta-toolchain-qte to generate the
>>> > toolchain..
>>> > Do you suggest it's better to integrate meta-toolchain-qte somehow with
>>> > populate_sdk so that we can make life easier?
>>>
>>> It is possible to integrate the two - all you need to do is ensure the
>>> extra
>>> qte tools get added to the SDK. One way to achieve this would be to add
>>> the
>>> following to your image recipe:
>>>
>>> QTNAME = "qte"
>>> QT_DIR_NAME = "qtopia"
>>> require recipes-qt/meta/meta-toolchain-qt.inc
>>>
>>> (I haven't tested this so I'm not 100% sure if it will work, but it
>>> should.)
>>>
>>> Cheers,
>>> Paul
>>>
>>>
>>> --
>>>
>>> Paul Eggleton
>>> Intel Open Source Technology Centre
>>
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Navani Srivastava
Please find the recipe attached herewith for qjson. This recipe is helpful
to work with qt4-embedded as qt4 doesn't have qjson feature in built.
I tried 'bitbake -c populate_sdk ' but it has not integrated qjson
package along. I am suspecting qjson recipe now. Am i missing anything in
attached recipe which is blocking me to integrate qjson in SDK?

Navani

On Mon, Sep 22, 2014 at 2:48 PM, Navani Srivastava <
navani.srivast...@gmail.com> wrote:

> I will follow the suggestion given by you and will update the result.
> However in case if I want to integrate custom recipe with
> meta-toolchain-qte, is there any example existing which can help me in
> understanding?
>
> Right now I am following the procedure given by Randy but some example
> could be of a great help!!
>
> Regards
>
> Navani
>
> On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton <
> paul.eggle...@linux.intel.com> wrote:
>
>> On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
>> > On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
>> > paul.eggle...@linux.intel.com> wrote:
>> > > On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
>> > > > We are not using populatesdk ... we need to generate it through
>> > > > meta-toolchain-qte only so i am trying with the solution provided by
>> > > > randy..
>> > >
>> > > Can I ask why? I'd like to understand where -c populate_sdk needs
>> further
>> > > improvement.
>> >
>> > I have to generate toolchain which contain qt related tools also like
>> qmake
>> > and qjson, so we are using meta-toolchain-qte to generate the
>> toolchain..
>> > Do you suggest it's better to integrate meta-toolchain-qte somehow with
>> > populate_sdk so that we can make life easier?
>>
>> It is possible to integrate the two - all you need to do is ensure the
>> extra
>> qte tools get added to the SDK. One way to achieve this would be to add
>> the
>> following to your image recipe:
>>
>> QTNAME = "qte"
>> QT_DIR_NAME = "qtopia"
>> require recipes-qt/meta/meta-toolchain-qt.inc
>>
>> (I haven't tested this so I'm not 100% sure if it will work, but it
>> should.)
>>
>> Cheers,
>> Paul
>>
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>>
>
>


qjson_0.7.1.bb
Description: Binary data
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Navani Srivastava
I will follow the suggestion given by you and will update the result.
However in case if I want to integrate custom recipe with
meta-toolchain-qte, is there any example existing which can help me in
understanding?

Right now I am following the procedure given by Randy but some example
could be of a great help!!

Regards

Navani

On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton <
paul.eggle...@linux.intel.com> wrote:

> On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
> > On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
> > paul.eggle...@linux.intel.com> wrote:
> > > On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
> > > > We are not using populatesdk ... we need to generate it through
> > > > meta-toolchain-qte only so i am trying with the solution provided by
> > > > randy..
> > >
> > > Can I ask why? I'd like to understand where -c populate_sdk needs
> further
> > > improvement.
> >
> > I have to generate toolchain which contain qt related tools also like
> qmake
> > and qjson, so we are using meta-toolchain-qte to generate the toolchain..
> > Do you suggest it's better to integrate meta-toolchain-qte somehow with
> > populate_sdk so that we can make life easier?
>
> It is possible to integrate the two - all you need to do is ensure the
> extra
> qte tools get added to the SDK. One way to achieve this would be to add the
> following to your image recipe:
>
> QTNAME = "qte"
> QT_DIR_NAME = "qtopia"
> require recipes-qt/meta/meta-toolchain-qt.inc
>
> (I haven't tested this so I'm not 100% sure if it will work, but it
> should.)
>
> Cheers,
> Paul
>
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Paul Eggleton
On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
> On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
> paul.eggle...@linux.intel.com> wrote:
> > On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
> > > We are not using populatesdk ... we need to generate it through
> > > meta-toolchain-qte only so i am trying with the solution provided by
> > > randy..
> > 
> > Can I ask why? I'd like to understand where -c populate_sdk needs further
> > improvement.
>
> I have to generate toolchain which contain qt related tools also like qmake
> and qjson, so we are using meta-toolchain-qte to generate the toolchain..
> Do you suggest it's better to integrate meta-toolchain-qte somehow with
> populate_sdk so that we can make life easier?

It is possible to integrate the two - all you need to do is ensure the extra 
qte tools get added to the SDK. One way to achieve this would be to add the 
following to your image recipe:

QTNAME = "qte"
QT_DIR_NAME = "qtopia"
require recipes-qt/meta/meta-toolchain-qt.inc

(I haven't tested this so I'm not 100% sure if it will work, but it should.)

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Navani Srivastava
I have to generate toolchain which contain qt related tools also like qmake
and qjson, so we are using meta-toolchain-qte to generate the toolchain..
Do you suggest it's better to integrate meta-toolchain-qte somehow with
populate_sdk so that we can make life easier?

Regards
Navani

On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
paul.eggle...@linux.intel.com> wrote:

> On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
> > We are not using populatesdk ... we need to generate it through
> > meta-toolchain-qte only so i am trying with the solution provided by
> randy..
>
> Can I ask why? I'd like to understand where -c populate_sdk needs further
> improvement.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Paul Eggleton
On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
> We are not using populatesdk ... we need to generate it through
> meta-toolchain-qte only so i am trying with the solution provided by randy..

Can I ask why? I'd like to understand where -c populate_sdk needs further 
improvement.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-20 Thread Navani Srivastava
We are not using populatesdk ... we need to generate it through
meta-toolchain-qte only so i am trying with the solution provided by randy..

Navani
On 21 Sep 2014 04:35, "Khem Raj"  wrote:

> On Thu, Sep 18, 2014 at 5:12 AM, Navani Srivastava
>  wrote:
> > Hi,
> >
> > I am using Poky-8.0.2 danny version for development.
> >
> > I want to integrate my custom recipe with sdk generated by
> > meta-toolchain-qte so that I can use header files and libraries
> generated by
> > my custom recipe for cross compilation. I am not sure of the proper way
> to
> > do it. Right now generated header files and libraries could be found in
> > rootfs generated for the target machine but for SDK there is no progress.
> >
> > Any help is appreciable..
>
> if you were generating SDK using -cpopulate_sdk 
>
> then it would be automatically included in your next spin of SDK.
>
> >
> > Thanks
> > Navani
> >
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-20 Thread Khem Raj
On Thu, Sep 18, 2014 at 5:12 AM, Navani Srivastava
 wrote:
> Hi,
>
> I am using Poky-8.0.2 danny version for development.
>
> I want to integrate my custom recipe with sdk generated by
> meta-toolchain-qte so that I can use header files and libraries generated by
> my custom recipe for cross compilation. I am not sure of the proper way to
> do it. Right now generated header files and libraries could be found in
> rootfs generated for the target machine but for SDK there is no progress.
>
> Any help is appreciable..

if you were generating SDK using -cpopulate_sdk 

then it would be automatically included in your next spin of SDK.

>
> Thanks
> Navani
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-18 Thread Randy Witt

On 09/18/2014 05:12 AM, Navani Srivastava wrote:

Hi,

I am using Poky-8.0.2 danny version for development.

I want to integrate my custom recipe with sdk generated by
meta-toolchain-qte so that I can use header files and libraries
generated by my custom recipe for cross compilation. I am not sure of
the proper way to do it. Right now generated header files and libraries
could be found in rootfs generated for the target machine but for SDK
there is no progress.


If you use one of the methods described at
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-classes-nativesdk 
then you need to make sure to get the nativesdk version of your recipe 
into the sdk.


You should be able to do that by adding the nativesdk version of your 
recipe to the TOOLCHAIN_HOST_TASK variable.


You could do that in your local.conf, or if you wanted a sticky version, 
create a meta-toolchain-qte.bbappend in your layer with the change. If 
you are unfamiliar with bbappends, they are described here:

http://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#using-bbappend-files

Hopefully that helps.


Any help is appreciable..

Thanks
Navani




--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Integration of custom recipe with SDK

2014-09-18 Thread Navani Srivastava
Hi,

I am using Poky-8.0.2 danny version for development.

I want to integrate my custom recipe with sdk generated by
meta-toolchain-qte so that I can use header files and libraries generated
by my custom recipe for cross compilation. I am not sure of the proper way
to do it. Right now generated header files and libraries could be found in
rootfs generated for the target machine but for SDK there is no progress.

Any help is appreciable..

Thanks
Navani
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto