summaryrefslogtreecommitdiff
path: root/scripts/crosstool.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-25 19:44:39 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-25 19:44:39 (GMT)
commit4a7d144844e8a2ec2fa27debbe332d84ef916aca (patch)
tree4ea4a4a238cbdc3c29cde8488181772def0d824e /scripts/crosstool.sh
parentc2426e53f17db134f19b23babc1b7ef8488dcdae (diff)
Allow using ash as the shell for ./configure and make.
After an idea by "Martin Guy" <martinwguy@yahoo.it>: http://sourceware.org/ml/crossgcc/2008-08/msg00037.html /trunk/scripts/crosstool.sh | 4 4 0 0 ++++ /trunk/config/global/build-behave.in | 14 14 0 0 ++++++++++++++ 2 files changed, 18 insertions(+)
Diffstat (limited to 'scripts/crosstool.sh')
-rwxr-xr-xscripts/crosstool.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh
index 681b204..c865c16 100755
--- a/scripts/crosstool.sh
+++ b/scripts/crosstool.sh
@@ -331,6 +331,10 @@ if [ -z "${CT_RESTART}" ]; then
# Override the configured jobs with what's been given on the command line
[ -n "${CT_JOBS}" ] && CT_PARALLEL_JOBS="${CT_JOBS}"
+ # Help ./configure scripts go faster
+ [ "${CT_CONFIG_SHELL_ASH}" = "y" ] && export CONFIG_SHELL=/bin/ash
+ export CONFIG_SHELL
+
# And help make go faster
PARALLELMFLAGS=
[ ${CT_PARALLEL_JOBS} -ne 0 ] && PARALLELMFLAGS="${PARALLELMFLAGS} -j${CT_PARALLEL_JOBS}"