fix make issue

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index ba43d13..14d32c1 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -4016,10 +4016,9 @@
 
     echo "all: ${DEPS}" >> $MAKEFILE
 
-    MAKEFILE_CONTENT=`cat $MAKEFILE`
-    rm ${MAKEFILE}
     NCPUS=$(lscpu -p|tail -n1|sed 's/,.*//')
-    echo $MAKEFILE_CONTENT | make --quiet -j$((NCPUS * 2)) -f ${MAKEFILE} all
+    make --quiet -j$((NCPUS * 2)) -f ${MAKEFILE} all
+    rm ${MAKEFILE}
 }
 
 component_test_no_platform () {