From: Jose V Beneyto Date: Fri, 5 Mar 2010 13:13:25 +0000 (+0100) Subject: fixed test in Makefile to be more wide compliant X-Git-Url: http://gitweb/?a=commitdiff_plain;ds=sidebyside;h=506bb5af8b11f1a1f1fba00d801e75edc6b6f98b;p=toolchain-softfp.git fixed test in Makefile to be more wide compliant --- diff --git a/Makefile b/Makefile index f50bd06..85ab934 100644 --- a/Makefile +++ b/Makefile @@ -258,7 +258,7 @@ $(WORK)/build-test/hello: $(WORK)/build-test/hello.c unset CFLAGS && unset CXXFLAGS && unset CC && \ AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \ $(TARGET)-gcc -Wall -o hello hello.c - [ "$$(file -b $(WORK)/build-test/hello | cut -d',' -f2 | sed 's| ||g' )" == "ARM" ] || exit 1 + [ "`file -b $(WORK)/build-test/hello | cut -d',' -f2 | sed 's| ||g'`" = "ARM" ] || exit 1 touch $(WORK)/build-test/hello test: gcc-final $(WORK)/build-test/hello