aboutsummaryrefslogtreecommitdiffstats
path: root/MAKEALL
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-09-21 12:04:33 -0500
committerWolfgang Denk <wd@denx.de>2009-09-24 00:37:43 +0200
commit55f786d8ba8ce58a81428536da34a2192b9bad9f (patch)
tree27438c53089a71ba6d7065e57d5df759678d6a45 /MAKEALL
parent40a28f0885e62b6607e12ed6baa6284927f5263e (diff)
downloadu-boot-midas-55f786d8ba8ce58a81428536da34a2192b9bad9f.tar.gz
u-boot-midas-55f786d8ba8ce58a81428536da34a2192b9bad9f.tar.bz2
u-boot-midas-55f786d8ba8ce58a81428536da34a2192b9bad9f.zip
MAKEALL: Use POSIX math
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-xMAKEALL2
1 files changed, 1 insertions, 1 deletions
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