From: Peter Tyser Date: Mon, 21 Sep 2009 17:04:33 +0000 (-0500) Subject: MAKEALL: Use POSIX math X-Git-Tag: v2010.09-rc1~28^2~7^2~42^2~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4b5d60d2ae39c1d74b78e8b8f4f1ddd29c7953b;p=u-boot MAKEALL: Use POSIX math Signed-off-by: Peter Tyser --- diff --git a/MAKEALL b/MAKEALL index 4688d422ff..dbcad87f18 100755 --- 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