[yocto] toolchain's environment-setup file that includes the image generated rootfs

Thanassis Silis djnass_18 at hotmail.com
Tue Jun 18 07:19:10 PDT 2013


hello everyone,
tampering with eclipse I was advised to use the image generated rootfs for sysroot entry, under window->preferences->Yocto Project ADT. I also used the meta-toolchain, which is extracted under /opt/poky/

If I copy extract the same toolchain and sysroots to another pc, I should alter the environment-setup file.
Looking into this file some changes are obvious. Variables:

CC, CXX, CPP, LD should be appended with " --sysroot=/path/to/image-rootfs/", next to the already existing "--sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi".

It is not clear if the above should be appended in the CONFIGURE_FLAGS="--target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=x86_64-linux --with-libtool-sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi"

as well.

Thank you.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130618/ec9aed94/attachment.html>


More information about the yocto mailing list