CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fixed test in Makefile to be more wide compliant
[toolchain-softfp.git] / Makefile
index f50bd06684753d6d26c3725aa65c6c5a572709ef..85ab9347d2dce73fe6fad0c4e8e45b55a66449eb 100644 (file)
--- 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