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

Thanassis Silis djnass_18 at hotmail.com
Fri Jun 21 05:19:31 PDT 2013


Then how should I go about adding a --sysroots statement in the generated meta-toolchain, of the generated image? 


From: jessica.zhang at intel.com
To: djnass_18 at hotmail.com; yocto at yoctoproject.org
Subject: RE: [yocto] toolchain's environment-setup file that includes the image generated rootfs
Date: Wed, 19 Jun 2013 16:26:14 +0000









Overall, we don’t suggest user to copy and alter the environment-setup file manually.
 


From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org]
On Behalf Of Thanassis Silis

Sent: Tuesday, June 18, 2013 7:19 AM

To: yocto at yoctoproject.org

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


 

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/20130621/d00e993c/attachment.html>


More information about the yocto mailing list