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


From: jessica.zh...@intel.com
To: djnass...@hotmail.com; yocto@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-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org]
On Behalf Of Thanassis Silis

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

To: yocto@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.

                                          
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to