buildrootschalter/toolchain
Thomas Petazzoni ccc82214f6 toolchain-external: improve target library copy logic
The copy_toolchain_lib_root function is responsible for copying a
given library (and its symbolic link) to the target filesystem. To do
so, it looks for the library in various locations, and then iterates
over the symbolic link all the way to the library, copying them as
needed to the target filesystem.

However, the latest Linaro toolchains bring an interesting use case:
the lib/ directory in the toolchain is organized as follows:

 - ld-linux.so.3 -> arm-linux-gnueabi/ld-2.17...so
 - ld-linux-armhf.so.3 -> arm-linux-gnueabihf/ld-2.17...so
 - arm-linux-gnueabi/
   - all ARMv4T soft float libraries
 - arm-linux-gnueabihf/
   - all ARMv7 hard float libraries

In order to match what we do with all other toolchains, we want all
those libraries and symbolic links to be copied directly under
$(TARGET_DIR)/lib. This commit does that by adjusting the copy logic.

This is part of the fix for bug #6452 (eglibc from Linaro 2013.07 not
copied to target correctly).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-09 16:08:30 +02:00
..
toolchain toolchain: introduce a virtual package 2013-10-09 12:30:44 +02:00
toolchain-buildroot toolchain-buildroot: convert to the package infrastructure 2013-10-09 14:29:38 +02:00
toolchain-external toolchain-external: update Linaro AArch64 toolchain 2013-10-09 16:07:29 +02:00
Config.in toolchain-external: add support for musl C library 2013-10-09 16:01:25 +02:00
helpers.mk toolchain-external: improve target library copy logic 2013-10-09 16:08:30 +02:00
toolchain-common.in toolchain-crosstool-ng: remove support 2013-10-06 20:50:41 +02:00