rebuild-bochs.sh: -jN configurable

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1052 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-04-11 15:01:13 +00:00
parent f1203676c2
commit 4162930e80
2 changed files with 14 additions and 1 deletions

View File

@ -14,6 +14,10 @@
# - all of the previous options finally install Bochs
#
set -e
# determine absolute path of this script
SCRIPTDIR=$(readlink -f $(dirname $0))
# env variable defaults
source $SCRIPTDIR/fail-env.sh
if [ "$1" = fail -o -z "$1" ]
then
@ -27,5 +31,5 @@ fi
#export PATH=/fs/staff/hsc/bin/ccache:$PATH
# even if we only rebuilt fail, we need to link and install bochs again
nice make -j10 bochs 2>&1 | $(dirname $0)/colorize.pl 2>&1
nice make -j$FAIL_BUILD_PARALLEL bochs 2>&1 | $(dirname $0)/colorize.pl 2>&1
make bochsinstall