]> git.sur5r.net Git - u-boot/blobdiff - MAKEALL
MAKEALL: Use POSIX math
[u-boot] / MAKEALL
diff --git a/MAKEALL b/MAKEALL
index 4688d422ff8dd6b76717f8b498380b713e1eeb06..dbcad87f18168c0241ba93180208262b04c38cd8 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -9,7 +9,7 @@ trap print_stats 0
 
 if [ "$BUILD_NCPUS" -gt 1 ]
 then
-       JOBS=-j`expr "$BUILD_NCPUS" + 1`
+       JOBS="-j $((BUILD_NCPUS + 1))"
 else
        JOBS=""
 fi