]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MAKEALL: Use POSIX math
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 21 Sep 2009 17:04:33 +0000 (12:04 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 23 Sep 2009 22:37:43 +0000 (00:37 +0200)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
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