diff options
author | Achille Fouilleul <achille.fouilleul@gadz.org> | 2018-10-05 16:38:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-09 12:02:41 +0100 |
commit | 3d6372aa2d9f752eac0e4943d1bde04f0f1924a0 (patch) | |
tree | 76bae0ad6858435901a27566f983922cbc55be4a /scripts/lib/devtool/package.py | |
parent | ea1204c6d9a02f0e38cf616e89d46530908972bb (diff) | |
download | openembedded-core-3d6372aa2d9f752eac0e4943d1bde04f0f1924a0.tar.gz openembedded-core-3d6372aa2d9f752eac0e4943d1bde04f0f1924a0.tar.bz2 openembedded-core-3d6372aa2d9f752eac0e4943d1bde04f0f1924a0.zip |
binutils: fix symlinks
For nativesdk, symlinks created by do_install contain ${SDKPATHNATIVE}.
This is a problem with SDKs that include nativesdk-binutils and nativesdk-gcc.
When extracting such an SDK dangling symlinks are created, because
relocate_sdk.py does not adjust symlinks. As a result gcc ends up calling the
host binutils.
Use the os.path.relpath function to obtain shorter relative paths, which do not
contain ${SDKPATHNATIVE}.
Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/package.py')
0 files changed, 0 insertions, 0 deletions