buildroot/toolchain
Thomas De Schampheleire 38b51739da toolchain: copy_toolchain_lib_root: copy symlinks instead of recreating them
copy_toolchain_lib_root handles symlinks by recreating them, disregarding
the original destination and assuming the destination is in the same
directory as the link itself.
When a library link points to the real library file in another directory,
for example:
    usr/lib/octeon2/libcrypt.so -> ../../../lib32/octeon2/libcrypt.so.1
then the link created by copy_toolchain_lib_root is broken.

It is more robust to copy the symlink to keep the destination intact. The
destination path should be present, possibly through other symbolic links.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-05 21:33:43 +02:00
..
toolchain core/pkg-cmake: provide our own platform description 2017-03-01 21:56:24 +01:00
toolchain-buildroot uclibc: allow to build aarch64 internal toolchain 2017-02-03 20:58:56 +01:00
toolchain-external toolchain: copy_toolchain_lib_root: clarify input parameter 2017-04-05 21:33:29 +02:00
Config.in arch: add support for the csky architecture 2017-03-04 14:35:55 +01:00
helpers.mk toolchain: copy_toolchain_lib_root: copy symlinks instead of recreating them 2017-04-05 21:33:43 +02:00
toolchain-common.in toolchain: add 4.10.x choice for headers 2017-02-20 21:55:55 +01:00
toolchain-wrapper.c Revert "reproducible: fix DATE/TIME macros in toolchain-wrapper" 2017-02-20 23:26:05 +01:00
toolchain-wrapper.mk arch/Config.in.mips: add support for XBurst cores 2016-11-09 21:36:34 +01:00
toolchain.mk toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS 2016-07-18 23:30:46 +02:00