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

Zhang, Jessica jessica.zhang at intel.com
Wed Jun 19 09:26:14 PDT 2013


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/20130619/5fef3311/attachment.html>


More information about the yocto mailing list