[poky] WAS: SDK (GMAE) questions NOW: build scripting question

Zhang, Jessica jessica.zhang at intel.com
Thu Jul 21 12:41:58 PDT 2011


Yes, this is the command line to generate the target rootfs, build the cross toolchain and also the ipk package index.  You can definitely build your automated build setup from there.

-----Original Message-----
From: Ourada, Paul [mailto:Paul.Ourada at Covidien.com]
Sent: Thursday, July 21, 2011 12:35 PM
To: Zhang, Jessica; Gary Thomas; Poky Project; Flanagan, Elizabeth
Subject: RE: [poky] WAS: SDK (GMAE) questions NOW: build scripting question

OK, I think I found out how to do this in one of this year's ELC presentations on Yocto by David Stewart (Intel).

CLI-prompt>MACHINE=[qemu[x86|arm] | atom-pc | emenlow | ...] bitbake poky-image-sato-sdk meta-toolchain package-index ...

Am I on the right track?

Thanks for listening! :)

Paul

Paul E. Ourada
Sr. Principal Software Engineer
Covidien, Energy-based Devices
5920 Longbow Drive
Boulder, CO 80301
paul.ourada at covidien.com
www.covidien.com
Main: 303-530-2300
Ofc: 303-581-6940
Fax: 303-581-6741


-----Original Message-----
From: Zhang, Jessica [mailto:jessica.zhang at intel.com]
Sent: Wednesday, July 20, 2011 3:49 PM
To: Ourada, Paul; Gary Thomas; Poky Project; Flanagan, Elizabeth
Subject: RE: [poky] SDK (GMAE) questions

Hi Paul,

Thanks for the interest.  I'll adding Beth, our release engineer to the email thread since she's managing our auto builder which generate the weekly, nightly build, etc through scripts.

Thanks,
Jessica

-----Original Message-----
From: Ourada, Paul [mailto:Paul.Ourada at Covidien.com]
Sent: Wednesday, July 20, 2011 2:44 PM
To: Zhang, Jessica; Gary Thomas; Poky Project
Subject: RE: [poky] SDK (GMAE) questions

Hi Jessica -

This is interesting to me, because I'm also getting started on a Poky project. How would you automate the different target builds? I'm contemplating a qemu build for on-host debug, and an atom-pc release target. I know that there's a MACHINE variable in local.conf, but I'd like to script this for automated nightly builds.

Paul E. Ourada
Sr. Principal Software Engineer
Covidien, Energy-based Devices
5920 Longbow Drive
Boulder, CO 80301
paul.ourada at covidien.com
www.covidien.com
Main: 303-530-2300
Ofc: 303-581-6940
Fax: 303-581-6741

-----Original Message-----
From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of Zhang, Jessica
Sent: Wednesday, July 20, 2011 3:37 PM
To: Gary Thomas; Poky Project
Subject: Re: [poky] SDK (GMAE) questions

Hi Gary,

You can achieve one host to support multiple target config, through Yocto adt-installer, this way you'll have desired target cross toolchain installed under /opt/poky instead of all the overlapping packages.  Since the Yocto toolchain supports sysroot, you can setup your sysroot by using your target image rootfs under desired directories of your choice.  Also, since adt-installer is based on ipk, it's easier to customize your sysroot setup through opkg pkgm.

Thanks,
Jessica

-----Original Message-----
From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of Gary Thomas
Sent: Wednesday, July 20, 2011 1:09 PM
To: Poky Project
Subject: [poky] SDK (GMAE) questions

I'd like to use one host machine to support multiple target configurations,
e.g. ppc603 + armv7a + armv5e  Currently, if I build the SDK, it seems that
there are too many overlaps, conflicts, for this to work.  Am I missing
something?

Also, is there a way I can [easily] select what goes into the SDK?  For
example, my armv5e targets are bare with no X, etc, so it seems silly
to populate the SDK with tons of X oriented packages.

Thanks for any pointers

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
poky at yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky
_______________________________________________
poky mailing list
poky at yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky



More information about the poky mailing list