summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-12-03 10:46:44 +0100
committerKoen Kooi <koen.kooi@linaro.org>2014-12-03 10:50:37 +0100
commitca099c869fd75c4451ed1b248d5296ba49c6dfd9 (patch)
treee98e8e7420aa128159f2fba270b286a534762d7f
parentbf79f9bfa02ff8a2af019ea9fe6787812d69a6ce (diff)
functions.sh: bail out during parsing if an 'internal' toolchain component is being built
If OE-core packaging changes we need to update the external toolchain recipe and not silently build internal components. Change-Id: I156c3e8f03d43412911639152051f2288487cfd8 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rwxr-xr-xfunctions.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh
index 24c0e48..0f5c1a0 100755
--- a/functions.sh
+++ b/functions.sh
@@ -176,7 +176,12 @@ conf_toolchain()
{
if [ $external_url ];then
set -xe
+
echo 'TCMODE = "external-linaro"' >>conf/site.conf
+ echo 'PNBLACKLIST[glibc] = "Using external toolchain"' >>conf/site.conf
+ echo 'PNBLACKLIST[libgcc] = "Using external toolchain"' >>conf/site.conf
+ echo 'PNBLACKLIST[gcc-cross] = "Using external toolchain"' >>conf/site.conf
+
tarball_name=`echo $external_url | cut -d "/" -f 8`
if [ -z $tarball_name ] ; then