buildroot/toolchain
Thomas De Schampheleire 144caf5c5b toolchain helpers: introduce simplify_symlink
The external toolchain logic flattens the directory layout in the staging
directory.  Regardless of the number of levels present in the extracted
toolchain, libraries are always copied to lib/ and usr/lib/, and directory
symbolic links are provided to make the original paths available as well.

Due to this, the same library may be reachable through a number of paths:
one path without any symbolic link, and one or more paths using directory
symlinks.

Using a direct path in a symlink destination is generally preferred because
it is clearer, but it is also more robust against accidental removal of an
intermediate directory symlink.

Introduce a helper function to simplify a symlink's destination to such a
direct path. This function will be used in a subsequent patch.

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:32:13 +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-external: cover multilib toolchains with lib/<variant> layout 2017-04-05 21:32:06 +02:00
Config.in arch: add support for the csky architecture 2017-03-04 14:35:55 +01:00
helpers.mk toolchain helpers: introduce simplify_symlink 2017-04-05 21:32:13 +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