* Integration of custom recipe with SDK
@ 2014-09-18 12:12 Navani Srivastava
2014-09-18 20:32 ` Randy Witt
2014-09-20 23:05 ` Khem Raj
0 siblings, 2 replies; 16+ messages in thread
From: Navani Srivastava @ 2014-09-18 12:12 UTC (permalink / raw)
To: yocto@yoctoproject.org; +Cc: Navani Srivastava
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 588 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-18 12:12 Integration of custom recipe with SDK Navani Srivastava
@ 2014-09-18 20:32 ` Randy Witt
2014-09-20 23:05 ` Khem Raj
1 sibling, 0 replies; 16+ messages in thread
From: Randy Witt @ 2014-09-18 20:32 UTC (permalink / raw)
To: Navani Srivastava, yocto@yoctoproject.org; +Cc: Navani Srivastava
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
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-18 12:12 Integration of custom recipe with SDK Navani Srivastava
2014-09-18 20:32 ` Randy Witt
@ 2014-09-20 23:05 ` Khem Raj
2014-09-21 3:56 ` Navani Srivastava
1 sibling, 1 reply; 16+ messages in thread
From: Khem Raj @ 2014-09-20 23:05 UTC (permalink / raw)
To: Navani Srivastava; +Cc: yocto@yoctoproject.org, Navani Srivastava
On Thu, Sep 18, 2014 at 5:12 AM, Navani Srivastava
<navani.srivastava@gmail.com> 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 <yourimage>
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
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-20 23:05 ` Khem Raj
@ 2014-09-21 3:56 ` Navani Srivastava
2014-09-22 8:15 ` Paul Eggleton
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-21 3:56 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto, Navani Srivastava
[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]
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" <raj.khem@gmail.com> wrote:
> On Thu, Sep 18, 2014 at 5:12 AM, Navani Srivastava
> <navani.srivastava@gmail.com> 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 <yourimage>
>
> 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
> >
>
[-- Attachment #2: Type: text/html, Size: 1707 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-21 3:56 ` Navani Srivastava
@ 2014-09-22 8:15 ` Paul Eggleton
2014-09-22 8:36 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Paul Eggleton @ 2014-09-22 8:15 UTC (permalink / raw)
To: Navani Srivastava; +Cc: Navani Srivastava, yocto
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-22 8:15 ` Paul Eggleton
@ 2014-09-22 8:36 ` Navani Srivastava
2014-09-22 8:51 ` Paul Eggleton
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-22 8:36 UTC (permalink / raw)
To: Paul Eggleton; +Cc: Navani Srivastava, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
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.eggleton@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
>
[-- Attachment #2: Type: text/html, Size: 1251 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-22 8:36 ` Navani Srivastava
@ 2014-09-22 8:51 ` Paul Eggleton
2014-09-22 9:18 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Paul Eggleton @ 2014-09-22 8:51 UTC (permalink / raw)
To: Navani Srivastava; +Cc: Navani Srivastava, yocto@yoctoproject.org
On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
> On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton <
> paul.eggleton@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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-22 8:51 ` Paul Eggleton
@ 2014-09-22 9:18 ` Navani Srivastava
2014-09-23 4:26 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-22 9:18 UTC (permalink / raw)
To: Paul Eggleton; +Cc: Navani Srivastava, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]
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@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@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
>
[-- Attachment #2: Type: text/html, Size: 2389 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-22 9:18 ` Navani Srivastava
@ 2014-09-23 4:26 ` Navani Srivastava
2014-09-23 5:54 ` Khem Raj
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-23 4:26 UTC (permalink / raw)
To: Paul Eggleton; +Cc: Navani Srivastava, yocto@yoctoproject.org
[-- Attachment #1.1: Type: text/plain, Size: 2265 bytes --]
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?
Navani
On Mon, Sep 22, 2014 at 2:48 PM, Navani Srivastava <
navani.srivastava@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@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@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
>>
>
>
[-- Attachment #1.2: Type: text/html, Size: 3245 bytes --]
[-- Attachment #2: qjson_0.7.1.bb --]
[-- Type: application/octet-stream, Size: 1382 bytes --]
DESCRIPTION = "A Json library for QT"
HOMEPAGE = "http://qjson.sourceforge.net/"
SECTION = "libs"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING.lib;md5=3511d726d09144c8590aba4623ca2e9f"
SRCREV = "37be2b7bf4cfe9784665e520ea03683a9f14f1d0"
PV = "0.7.1"
PR = "r0"
S = "${WORKDIR}/git"
SRC_URI = "git://gitorious.org/qjson/qjson.git"
FILES_${PN} = "${libdir}/qt4"
RDEPENDS += "qt4-embedded"
DEPENDS += "cmake pkgconfig qt4-embedded"
inherit qt4e cmake
inherit autotools gettext
EXTRA_OECMAKE = "-DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
-DQT_INSTALL_LIBS=${OE_QMAKE_LIBDIR_QT} \
-DQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
-DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
-DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
-DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
-DQT_UIC3_EXECUTABLE=${OE_QMAKE_UIC3} \
-DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
-DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
-DQT_DBUSXML2CPP_EXECUTABLE=/usr/bin/qdbusxml2cpp \
-DQT_DBUSCPP2XML_EXECUTABLE=/usr/bin/qdbuscpp2xml \
-DQT_MKSPECS_DIR=${QMAKESPEC}/../ \
"
# Adding our lib file to the main package
FILES_${PN} = "${libdir}/*"
do_configure_prepend() {
}
do_install_prepend() {
}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-23 4:26 ` Navani Srivastava
@ 2014-09-23 5:54 ` Khem Raj
2014-09-24 4:56 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Khem Raj @ 2014-09-23 5:54 UTC (permalink / raw)
To: Navani Srivastava
Cc: Paul Eggleton, yocto@yoctoproject.org, Navani Srivastava
On Mon, Sep 22, 2014 at 9:26 PM, Navani Srivastava
<navani.srivastava@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@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@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@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
>>
>>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-23 5:54 ` Khem Raj
@ 2014-09-24 4:56 ` Navani Srivastava
2014-09-24 7:26 ` Paul Eggleton
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-24 4:56 UTC (permalink / raw)
To: Khem Raj; +Cc: Paul Eggleton, yocto@yoctoproject.org, Navani Srivastava
[-- Attachment #1: Type: text/plain, Size: 3242 bytes --]
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 <MyImageName>', 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 <raj.khem@gmail.com> wrote:
> On Mon, Sep 22, 2014 at 9:26 PM, Navani Srivastava
> <navani.srivastava@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@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@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@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
> >>
> >>
> >
>
[-- Attachment #2: Type: text/html, Size: 5119 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-24 4:56 ` Navani Srivastava
@ 2014-09-24 7:26 ` Paul Eggleton
2014-09-24 7:44 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Paul Eggleton @ 2014-09-24 7:26 UTC (permalink / raw)
To: Navani Srivastava; +Cc: Navani Srivastava, yocto@yoctoproject.org
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 <MyImageName>', 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 <imagename>
- you did do that as well after making the changes to the recipe, right ?
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-24 7:26 ` Paul Eggleton
@ 2014-09-24 7:44 ` Navani Srivastava
2014-09-24 12:01 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-24 7:44 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto, Navani Srivastava
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
Yes.. i did...
On 24 Sep 2014 12:56, "Paul Eggleton" <paul.eggleton@linux.intel.com> 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 <MyImageName>', 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
> <imagename>
> - you did do that as well after making the changes to the recipe, right ?
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
[-- Attachment #2: Type: text/html, Size: 1265 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-24 7:44 ` Navani Srivastava
@ 2014-09-24 12:01 ` Navani Srivastava
2014-09-26 3:23 ` Khem Raj
0 siblings, 1 reply; 16+ messages in thread
From: Navani Srivastava @ 2014-09-24 12:01 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto@yoctoproject.org, Navani Srivastava
[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]
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 <myimage> or
bitbake <myimage>.
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.srivastava@gmail.com> wrote:
> Yes.. i did...
> On 24 Sep 2014 12:56, "Paul Eggleton" <paul.eggleton@linux.intel.com>
> 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 <MyImageName>', 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
>> <imagename>
>> - you did do that as well after making the changes to the recipe, right ?
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>>
>
[-- Attachment #2: Type: text/html, Size: 2358 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-24 12:01 ` Navani Srivastava
@ 2014-09-26 3:23 ` Khem Raj
2014-10-08 9:42 ` Navani Srivastava
0 siblings, 1 reply; 16+ messages in thread
From: Khem Raj @ 2014-09-26 3:23 UTC (permalink / raw)
To: Navani Srivastava, Paul Eggleton
Cc: yocto@yoctoproject.org, Navani Srivastava
-----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 <myimage> or
> bitbake <myimage>.
>
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.srivastava@gmail.com> wrote:
>
>> Yes.. i did...
>> On 24 Sep 2014 12:56, "Paul Eggleton" <paul.eggleton@linux.intel.com>
>> 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 <MyImageName>', 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
>>> <imagename>
>>> - 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-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Integration of custom recipe with SDK
2014-09-26 3:23 ` Khem Raj
@ 2014-10-08 9:42 ` Navani Srivastava
0 siblings, 0 replies; 16+ messages in thread
From: Navani Srivastava @ 2014-10-08 9:42 UTC (permalink / raw)
To: Khem Raj; +Cc: Paul Eggleton, Navani Srivastava, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2629 bytes --]
>>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 <raj.khem@gmail.com> 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 <myimage>
> or
> > bitbake <myimage>.
> >
>
> 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.srivastava@gmail.com> wrote:
> >
> >> Yes.. i did...
> >> On 24 Sep 2014 12:56, "Paul Eggleton" <paul.eggleton@linux.intel.com>
> >> 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 <MyImageName>', 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
> >>> <imagename>
> >>> - 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-----
>
[-- Attachment #2: Type: text/html, Size: 4184 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2014-10-08 9:49 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 12:12 Integration of custom recipe with SDK Navani Srivastava
2014-09-18 20:32 ` Randy Witt
2014-09-20 23:05 ` Khem Raj
2014-09-21 3:56 ` Navani Srivastava
2014-09-22 8:15 ` Paul Eggleton
2014-09-22 8:36 ` Navani Srivastava
2014-09-22 8:51 ` Paul Eggleton
2014-09-22 9:18 ` Navani Srivastava
2014-09-23 4:26 ` Navani Srivastava
2014-09-23 5:54 ` Khem Raj
2014-09-24 4:56 ` Navani Srivastava
2014-09-24 7:26 ` Paul Eggleton
2014-09-24 7:44 ` Navani Srivastava
2014-09-24 12:01 ` Navani Srivastava
2014-09-26 3:23 ` Khem Raj
2014-10-08 9:42 ` Navani Srivastava
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.