[meta-freescale] can't install meta-toolchain because sysroot is missing (chicken and egg problem)
djnass_18 at hotmail.com
Mon Jun 3 10:12:21 PDT 2013
I have successfully bitbaked the meta-toolchain on my system and I now want to extract this toolchain on the same system.
notice that I have already bitbaked images fsl-image-test (&gui) on the same system.
Well, the toolchain installation fails with:
nass at starland ~/yocto/sources/poky/build $ sudo ./tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.2.sh
Enter target directory for SDK (default: /opt/poky/1.3.2):
The directory "/opt/poky/1.3.2" already contains a SDK for this architecture.
If you continue, existing files will be overwritten! Proceed[y/N]?y
Setting it up...find: `/opt/poky/1.3.2/sysroots/x86_64-pokysdk-linux/lib': No such file or directory
SDK could not be set up. Relocate script failed. Abort!
So in the reference it states that in order to install the toolchain I need to extract the image first (in order to have the correct sysroots folder ?).
but if you read the guide. in order to extract the image, you need to source a corresponding environment-setup* file.
so I searched for those:
nass at starland ~/yocto/sources/poky/build $ find . -name *environment-setup*
I tried sourcing the 1st and 2nd. but the result with the installation is the same.
Am I missing something?
Thank you for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the meta-freescale