Skip to contentSkip to conversation

toolchain-linaro: bump linaro gcc version

PATCH New Denys Dmytriyenko 1 participant 2 messages Feb 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 toolchain-linaro: bump linaro gcc version

Now that gcc-7.2 recipes landed in meta-linaro/rocko

---
 meta-arago-distro/conf/distro/include/toolchain-linaro.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-linaro.inc +2 -2
index 81cf1f7..61a3b50 100644
@@ -39,7 +39,7 @@ PREFERRED_PROVIDER_libgcc = "external-linaro-toolchain"
 PREFERRED_PROVIDER_gcc-runtime = "external-linaro-toolchain"
 
 # Set Cross and SDK toolchain preferences
-SDKGCCVERSION ?= "linaro-7.1%"
+SDKGCCVERSION ?= "linaro-7.2%"
 SDKGDBVERSION ?= "8.0"
 SDKBINUVERSION ?= "linaro-2.27%"
 SDKGLIBCVERSION ?= "2.26%"
@@ -59,7 +59,7 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 
 # Set target toolchain preferences to match Cross/SDK by default
 # Can be overwritten globally, if needed
-GCCVERSION ?= "linaro-7.1%"
+GCCVERSION ?= "linaro-7.2%"
 GDBVERSION ?= "8.0"
 BINUVERSION ?= "linaro-2.27%"
 GLIBCVERSION ?= "2.26%"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 external-linaro-toolchain-cross: target and cross gcc versions now match

---
 .../recipes-core/meta/external-linaro-toolchain-cross.bb      | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
meta-arago-extras/recipes-core/meta/external-linaro-toolchain-cross.bb +2 -9
index 8a0b333..14e0826 100644
@@ -13,14 +13,7 @@ BPN = "external-linaro-toolchain"
 INHIBIT_DEFAULT_DEPS = "1"
 INHIBIT_AUTOTOOLS_DEPS = "1"
 
-# When used external toolchain gcc version doesn't match
-# the one built for the target
-# OE-Core gcc version
-#TGT_VER_GCC = "7.3.0"
-# Linaro gcc source version
-TGT_VER_GCC = "7.1.1"
-
 do_install() {
-	install -d ${D}${libdir}/gcc/${TARGET_SYS}/${TGT_VER_GCC}/include/
-	cp -a ${TOOLCHAIN_PATH}/lib/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/include/unwind.h ${D}/${libdir}/gcc/${TARGET_SYS}/${TGT_VER_GCC}/include/
+	install -d ${D}${libdir}/gcc/${TARGET_SYS}/${ELT_VER_GCC}/include/
+	cp -a ${TOOLCHAIN_PATH}/lib/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/include/unwind.h ${D}/${libdir}/gcc/${TARGET_SYS}/${ELT_VER_GCC}/include/
 }
Signature · 1 line
2.7.4