[U-Boot] [PATCH 2/2 v5] MAKEALL: Use POSIX math

Peter Tyser ptyser at xes-inc.com
Mon Sep 21 19:04:33 CEST 2009


Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
 MAKEALL |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index fd06d8d..1e7ec20 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
-- 
1.6.2.1



More information about the U-Boot mailing list