aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-03 11:50:00 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-07-03 13:00:25 +0200
commita0aa7e0e1750f6ace2879ea8adb1425a41431b79 (patch)
treefda5551128d1cf6b095942524761588f4d68c583
parentd0cc8792937558c52888c91f8d108e471b863de6 (diff)
downloadbuildroot-a0aa7e0e1750f6ace2879ea8adb1425a41431b79.tar.gz
buildroot-a0aa7e0e1750f6ace2879ea8adb1425a41431b79.tar.bz2
toolchain-external: remove SOURCE/SITE for locally available toolchain
When the custom external toolchain is locally available, we currently define SITE/SOURCE to empty variables. Now that the package infrastructure doesn't define a value for SOURCE when VERSION is empty, it doesn't attempt to download a file anymore, so we can get rid of those empty SOURCE/SITE variables in the toolchain-external package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--toolchain/toolchain-external/toolchain-external.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 7f46234906..342bc842b3 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -453,14 +453,6 @@ TOOLCHAIN_EXTERNAL_ACTUAL_SOURCE_TARBALL ?= \
$(subst -i686-pc-linux-gnu.tar.bz2,.src.tar.bz2,$(subst -i686-pc-linux-gnu-i386-linux.tar.bz2,-i686-pc-linux-gnu.src.tar.bz2,$(TOOLCHAIN_EXTERNAL_SOURCE)))
endif
-# In fact, we don't need to download the toolchain, since it is already
-# available on the system, so force the site and source to be empty so
-# that nothing will be downloaded/extracted.
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED),y)
-TOOLCHAIN_EXTERNAL_SITE =
-TOOLCHAIN_EXTERNAL_SOURCE =
-endif
-
TOOLCHAIN_EXTERNAL_ADD_TOOLCHAIN_DEPENDENCY = NO
TOOLCHAIN_EXTERNAL_INSTALL_STAGING = YES