aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2019-04-03 03:41:40 +0100
committerVishal Bhoj <vishal.bhoj@linaro.org>2019-04-03 03:41:40 +0100
commitcb1b39b3378748231f4558587e50f5d0f6988e5f (patch)
tree6e3ee89abb9e560be7ecba761fe1873ab137e565
parentfab422679db088c37646ee978abbc9f0ee22b58b (diff)
downloadmeta-linaro-cb1b39b3378748231f4558587e50f5d0f6988e5f.tar.gz
external-arm-toolchain-versions: fix support for ARM gcc 8.3.0-2019.03 release
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: Icc1d01447131e0b84024c88a01c78fe1e765a6e1
-rw-r--r--meta-linaro-toolchain/conf/distro/include/external-arm-toolchain-versions.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/conf/distro/include/external-arm-toolchain-versions.inc b/meta-linaro-toolchain/conf/distro/include/external-arm-toolchain-versions.inc
index 6c3acec5..806ae8bd 100644
--- a/meta-linaro-toolchain/conf/distro/include/external-arm-toolchain-versions.inc
+++ b/meta-linaro-toolchain/conf/distro/include/external-arm-toolchain-versions.inc
@@ -31,6 +31,10 @@ def eat_get_main_version(d):
if version.split()[4] == '(GNU':
# gcc version 8.2.1 20180802 (GNU Toolchain for the A-profile Architecture 8.2-2018.11 (arm-rel-8.26))
return version.split()[10].split('-')[1]
+ elif version.split()[3] == '(GNU':
+ # gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))
+ return version.split()[9].split('-')[1]
+ else:
bb.error('Failed to parse external Arm toolchain version from: %s' % version)
else:
return version