From: Peter Korsgaard Date: Fri, 31 Aug 2012 19:44:17 +0000 (+0200) Subject: toolchain/helpers.mk: fix check_glibc sysroot typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=666eb02be3cd4115a1ef8b78a63d64d12b24469e;p=buildroot.git toolchain/helpers.mk: fix check_glibc sysroot typo Introduced by 68973cca2 (adjust logic to support Linaro 2012.05) Reported-by: R Zhong Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index 49a90441b0..d5ab91b3d5 100644 --- a/toolchain/helpers.mk +++ b/toolchain/helpers.mk @@ -196,7 +196,7 @@ check_glibc_feature = \ # check_glibc = \ SYSROOT_DIR="$(strip $1)"; \ - if test `find $${SYSDROOT_DIR}/lib/ -maxdepth 1 -name 'ld-linux*.so.*' -o -name 'ld.so.*' | wc -l` -eq 0 ; then \ + if test `find $${SYSROOT_DIR}/lib/ -maxdepth 1 -name 'ld-linux*.so.*' -o -name 'ld.so.*' | wc -l` -eq 0 ; then \ echo "Incorrect selection of the C library"; \ exit -1; \ fi; \