kumquat-buildroot/toolchain
Cam Hutchison 2b9d5abc94 toolchain: detect external glibc in merged /usr
When using an external toolchain that was built with Buildroot and a
merged /usr, the dynamic linker is actually in /usr/lib.

But the check_glibc macro limits the depth it is looking for the dynamic
linker, and misses it when it is in /usr/lib because it is too deep.

We could fix that in two ways: increase the depth in which we look
for it, or follow symlinks. We choose the second solution.

Signed-off-by: Cam Hutchison <camh@xdna.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit b55ff5a7cd)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-10-16 23:21:55 +02:00
..
toolchain pkg-cmake: move configuration files out of $(HOST_DIR)/usr 2017-07-05 11:50:14 +02:00
toolchain-buildroot glibc: remove version choice 2017-06-24 17:42:50 +02:00
toolchain-external core/pkg-toolchain-external: quiesce spurious stderr 2017-08-19 15:06:45 +02:00
Config.in toolchain/buildroot: not available for a few mips cores 2017-08-29 23:18:56 +02:00
helpers.mk toolchain: detect external glibc in merged /usr 2017-10-16 23:21:55 +02:00
toolchain-common.in arch/mips: add option for toolchains supporting -mfpxx 2017-07-21 22:49:18 +02:00
toolchain-wrapper.c arch/mips: add support for MIPS32 FP mode 2017-07-16 16:45:22 +02:00
toolchain-wrapper.mk Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
toolchain.mk toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS 2016-07-18 23:30:46 +02:00