From af5010824ea3f6bcad2006179481197cc21a69c2 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 30 Sep 2016 03:06:37 +0100 Subject: [PATCH] toolchain: only setup_toolchain when building --- config/path | 2 -- scripts/build | 2 ++ scripts/image | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/path b/config/path index 9fe9e715f5..d2eee52452 100644 --- a/config/path +++ b/config/path @@ -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 diff --git a/scripts/build b/scripts/build index 8615db6b63..8bc2246374 100755 --- a/scripts/build +++ b/scripts/build @@ -20,6 +20,8 @@ . config/options $1 +setup_toolchain target + if [ -z "$1" ]; then echo "usage: $0 package_name[:]" exit 1 diff --git a/scripts/image b/scripts/image index c869901e4a..2ac027f655 100755 --- a/scripts/image +++ b/scripts/image @@ -22,6 +22,8 @@ show_config +setup_toolchain target + $SCRIPTS/checkdeps $SCRIPTS/build toolchain $SCRIPTS/build squashfs:host