From: Thomas Petazzoni Date: Mon, 5 Jul 2010 16:59:00 +0000 (+0200) Subject: external-toolchain: recognize uClibc 64 bits toolchains X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b17cef16b9b82e120ea9a03481e3978a2229ac1;p=buildroot.git external-toolchain: recognize uClibc 64 bits toolchains With uClibc 64 bits toolchain, the dynamic loader is named ld64-uClibc.so.0 and not ld-uClibc.so.0. So, this commit adjust the uClibc detection code for external toolchains. Signed-off-by: Thomas Petazzoni Reviewed-by: Yann E. MORIN Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk index d591781168..39961843e9 100644 --- a/toolchain/external-toolchain/ext-tool.mk +++ b/toolchain/external-toolchain/ext-tool.mk @@ -216,7 +216,7 @@ check_uclibc_feature = \ # check_uclibc = \ SYSROOT_DIR="$(strip $1)"; \ - if ! test -f $${SYSROOT_DIR}/lib/ld-uClibc.so.* ; then \ + if ! test -f $${SYSROOT_DIR}/lib/ld*-uClibc.so.* ; then \ echo "Incorrect selection of the C library"; \ exit -1; \ fi; \