toolchain: only setup_toolchain when building

This commit is contained in:
MilhouseVH 2016-09-30 03:06:37 +01:00
parent a604b4ad01
commit af5010824e
3 changed files with 4 additions and 2 deletions

View File

@ -186,8 +186,6 @@ VERSION_SUFFIX=$TARGET_ARCH
check_path
check_config
setup_toolchain target
SILENT_OUT=3
VERBOSE_OUT=4
if [ "$VERBOSE" = yes ]; then

View File

@ -20,6 +20,8 @@
. config/options $1
setup_toolchain target
if [ -z "$1" ]; then
echo "usage: $0 package_name[:<host|target|init|bootstrap>]"
exit 1

View File

@ -22,6 +22,8 @@
show_config
setup_toolchain target
$SCRIPTS/checkdeps
$SCRIPTS/build toolchain
$SCRIPTS/build squashfs:host