[yocto] Add new module to recipe + meta-toolchain-qt: add gdb

Jegan Chandru pcjegan at gmail.com
Tue Sep 10 07:05:32 PDT 2013


Hello,

On Tue, Sep 10, 2013 at 4:53 PM, Jose Mª Ferreiro <jose.ferreiro at horus.es>wrote:

> Hello
>
> We have compiled meta-toolchain-qt (Yocto dylan). Now we can run QT
> applications on Desktop (Ubuntu 12.04) and on target (iMX6 sabre Lite
> board). We can also debug the applications on board, but we can not debug
> on desktop.
>
> When /usr/bin/gdb is started it starts automatically /usr/bin/python. It
> fails because Ubuntu python does not recognize sys.lib variable from
> /op/poky...python. We have found no way to tell gdb to start changing
> PYTHONHOME to Ubuntu python home to avoid the problem.
>
> So we need to add gdb to the toolchain. If we get it to work, we suppose
> the /op/poky...gdb will start the /opt/poky...python (we test it and that
> python knows what sys.lib is).
>
> We try to add to conf/local.conf: TOOLCHAIN_HOST_TASK_append = "
> nativesdk-gdb". But nativesdk-gdb is not a defined name.
>

try adding packagegroup-cross-canadian-${TRANSLATED_TARGET_ARCH} in
TOOLCHAIN_HOST_TASK_append which will add cross toolchain to your sdk which
includes cross gdb as well. There is no nativesdk-gdb afaik unless if
someone says otherwise. see ./recipes-core/packagegroups/
packagegroup-cross-canadian.bb for details.


>
> So the cuestion is: how can i know what recipes are avaliable to sdk host
> toolchain and what are their names?
>
> Thank you and best regards
>
> ______________________________**_________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>
>


Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130910/ee8803e7/attachment.html>


More information about the yocto mailing list