[poky] Using prebuilt toolchains

Ke, Liping liping.ke at intel.com
Wed Oct 27 19:16:34 PDT 2010


> That's not really what I'm looking for.  What I want is to build
> the tools *once* and then reuse them, without having to rebuild
> them every time I start a Poky build from scratch.  I'm happy using
> the Poky "customized" tools, but I really dislike having to rebuild
> them over and over again...  I also am really keen to deliver a Poky
> setup to my customers which they can use to build their target systems.
> They shouldn't have to be bothered with building the tools themselves.

Hi, Gary

In poky source tree, after bitbake meta-toolchain-sdk, you will get a tarball
under Poky_tree/build_folder/tmp/deploy/sdk.  Current usage scenario is that
you can untar this tarball too the root Folder /, and you will get a sdk
development toolchain folder /opt/poky.

If you want to cross-build something on your host, you can source
the environment setup script file(environement-setup-XXX) under /opt/poky,
and then go on compile/debug. And also, some other tools such as poky unfs
file system extraction, running qemu scripts are also under this folder.
This folder also include target sysroot environment.

Currently we did not encapsulate qemu emulator image in this tarball.
In the next release, we might do so. So currently if you want to
run qemu, you still need to bitbake poky-qemu-sdk.

There're one eclipse plugin as well as anjuta IDE plugin, which provide support
for developing applications. What we need to do is just point to the correct
poky toolchain position in the plugin preference setup page, such as /opt/poky
folder or {poky_tree/build/tmp if you want to use the build tree}. If needed,
we might provide further detailed documents about how to use those plugins.

Hope above information is useful to you:)

Thanks a lot for your help!
criping


> 
> > -----Original Message-----
> > From: poky-bounces at pokylinux.org [mailto:poky-bounces at pokylinux.org]
> On Behalf Of Gary Thomas
> > Sent: Wednesday, October 27, 2010 2:33 PM
> > To: Poky
> > Subject: [poky] Using prebuilt toolchains
> >
> > Congratulations on Laverne (4.0) and Yocto - I hope they are
> > prosperous for all :-)
> >
> > Is there any way to configure Poky (laverne) with a prebuilt
> > toolchain, e.g. a meta-toolchain setup?  I no longer see any
> > mention of this in the manual (although I've never succeeded
> > to use such, no matter how hard I've tried)
> >
> 
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> _______________________________________________
> poky mailing list
> poky at pokylinux.org
> https://lists.pokylinux.org/listinfo/poky



More information about the poky mailing list