rustbuild: Don't make any directories when enabled

As part of the ./configure step don't create any directories if rustbuild is
enable as rustbuild will take care of everything.
This commit is contained in:
Alex Crichton 2016-02-12 16:40:06 -08:00
parent 0c4d81f9bc
commit 680bdbc2a7
1 changed files with 78 additions and 74 deletions

36
configure vendored
View File

@ -1327,27 +1327,29 @@ then
fi
fi
step_msg "making directories"
if [ -z "$CFG_ENABLE_RUSTBUILD" ]; then
for i in \
step_msg "making directories"
for i in \
doc doc/std doc/extra \
dl tmp dist
do
do
make_dir $i
done
done
for t in $CFG_HOST
do
for t in $CFG_HOST
do
make_dir $t/llvm
done
done
for t in $CFG_HOST
do
for t in $CFG_HOST
do
make_dir $t/rustllvm
done
done
for t in $CFG_TARGET
do
for t in $CFG_TARGET
do
make_dir $t/rt
for s in 0 1 2 3
do
@ -1361,10 +1363,10 @@ do
make_dir $t/rt/stage$s/$i
done
done
done
done
for h in $CFG_HOST
do
for h in $CFG_HOST
do
for t in $CFG_TARGET
do
# host bin dir stage0
@ -1417,7 +1419,9 @@ do
make_dir $h/test/codegen
make_dir $h/test/codegen-units
make_dir $h/test/rustdoc
done
done
fi
# Configure submodules
step_msg "configuring submodules"