diff options
author | Alexey Neyman <stilor@att.net> | 2019-04-04 16:47:50 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-04-04 18:57:42 -0700 |
commit | 693d3943b10665b99a31ab1f3b4058fb4b3a32d1 (patch) | |
tree | fa6f76ff821391d7677b16bd5cef7bf83f41d2c5 /scripts/crosstool-NG.sh | |
parent | 8e24bb22d0f5f35c97af75bffbe3ebf052604c9e (diff) | |
download | crosstool-ng-693d3943b10665b99a31ab1f3b4058fb4b3a32d1.tar.gz crosstool-ng-693d3943b10665b99a31ab1f3b4058fb4b3a32d1.tar.bz2 crosstool-ng-693d3943b10665b99a31ab1f3b4058fb4b3a32d1.zip |
Rename JOBSFLAGS -> CT_JOBSFLAGS
... so that it is saved/restored when restarting the build.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/crosstool-NG.sh')
-rw-r--r-- | scripts/crosstool-NG.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh index 6014e4af..31942b14 100644 --- a/scripts/crosstool-NG.sh +++ b/scripts/crosstool-NG.sh @@ -578,7 +578,7 @@ if [ -z "${CT_RESTART}" ]; then CT_DoLog DEBUG "LDFLAGS for host compiler: '${CT_LDFLAGS_FOR_HOST}'" # And help make go faster - JOBSFLAGS= + CT_JOBSFLAGS= # Override the configured jobs with what's been given on the command line if [ -n "${CT_JOBS}" ]; then if [ ! -z "`echo "${CT_JOBS}" | ${sed} 's/[0-9]//g'`" ]; then @@ -589,9 +589,9 @@ if [ -z "${CT_RESTART}" ]; then # Use the number of processors+1 when automatically setting the number of # parallel jobs. AUTO_JOBS=$[ BUILD_NCPUS + 1 ] - [ ${CT_PARALLEL_JOBS} -eq 0 ] && JOBSFLAGS="${JOBSFLAGS} -j${AUTO_JOBS}" - [ ${CT_PARALLEL_JOBS} -gt 0 ] && JOBSFLAGS="${JOBSFLAGS} -j${CT_PARALLEL_JOBS}" - JOBSFLAGS="${JOBSFLAGS} -l${CT_LOAD}" + [ ${CT_PARALLEL_JOBS} -eq 0 ] && CT_JOBSFLAGS="${CT_JOBSFLAGS} -j${AUTO_JOBS}" + [ ${CT_PARALLEL_JOBS} -gt 0 ] && CT_JOBSFLAGS="${CT_JOBSFLAGS} -j${CT_PARALLEL_JOBS}" + CT_JOBSFLAGS="${CT_JOBSFLAGS} -l${CT_LOAD}" # Override 'download only' option [ -n "${CT_SOURCE}" ] && CT_ONLY_DOWNLOAD=y |