We have a Yocto project (mickledore) to create a custom Linux for an ARM A7 system. To be able to write code for this target, we also created the SDK. Inside local.conf we have:
SDKMACHINE = "i686"
SDK_ARCHIVE_TYPE = "tar.xz"
We execute:
bitbake core-image-minimal -c populate_sdk -f
Everything looks good and works so far. But. In the SDK there are a lot of symbolic links:
/home/foobar/buildtools/sdk/sysroots/i686-pokysdk-linux/usr/bin$ ls -l
xz -> /home/foobar/poky/build/tmp/deploy/sdk/i686/sysroots/i686-pokysdk-linux/usr/bin/xz.xz
We need to give the SDK to every member of the team so it would be nice to have a portable SDK without links or with relative links, but we could not find any options to make yocto create such a thing.
It seems to us as if the only option is, to write a script that converts all links from absolute to relative. Is it really that complicated or does anybody have a different idea on how to make the SDK portable?