From 666eb02be3cd4115a1ef8b78a63d64d12b24469e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 31 Aug 2012 21:44:17 +0200 Subject: [PATCH] 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 --- toolchain/helpers.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.30.2