[yocto] Need clarification on some terms
Zhang, Jessica
jessica.zhang at intel.com
Wed Jun 12 15:26:58 PDT 2013
Hi Paul,
Both of them will generate the cross toolchain which will be used by application developer on their development host for generate binaries for their target embedded devices, this cross toolchain includes the cross compiler, cross linker, etc. But to allow for cross development, the application developer also needs development packages that contains target headers and libraries that they can develop application against. These development packages are included in the sysroot that cross toolchain is compiling and linking against. This sysroot is typically base on the target devices' image rootfs. The first command "bitbae -c populate_sdk <image>" will generate the full SDK that includes toolchain and a target image matching sysroot, while the command bitbake meta_toolchain only generate the cross toolchain and a minimum sysroot that you shouldn't use to develop against. For the latter case, we suggest people to setup their sysroot using a target image rootfs.
Cheers,
Jessica
-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Paul D. DeRocco
Sent: Wednesday, June 12, 2013 3:10 PM
To: 'Trevor Woerner'
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Need clarification on some terms
Or, looking at your notes, is it that "bitbake -c populate_sdk <image>"
takes the toolchain that was used to build the image, and packages it up as an SDK for the benefit of application developers (the normal case), while "bitbake meta-toolchain" builds a new SDK that may be different in some ways, including maybe running on a third intermediate machine (the special case)?
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco at ix.netcom.com
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list