summaryrefslogtreecommitdiffstats
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)
downloadbootable_bootloader_goldelico_gta04-55f786d8ba8ce58a81428536da34a2192b9bad9f.zip
bootable_bootloader_goldelico_gta04-55f786d8ba8ce58a81428536da34a2192b9bad9f.tar.gz
bootable_bootloader_goldelico_gta04-55f786d8ba8ce58a81428536da34a2192b9bad9f.tar.bz2
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 4688d42..dbcad87 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