[yocto] Integration of custom recipe with SDK

Khem Raj raj.khem at gmail.com
Mon Sep 22 22:54:29 PDT 2014


On Mon, Sep 22, 2014 at 9:26 PM, Navani Srivastava
<navani.srivastava at gmail.com> 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 <myimage>' 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
> <navani.srivastava at 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.eggleton at 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.eggleton at 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
>>
>>
>



More information about the yocto mailing list