Skip to contentSkip to conversation

Config.in: Add BR2_DEPRECATED_SINCE_2015_05

PATCH New Gustavo Zacarias 2 participants 13 messages Mar 3, 2015 – Mar 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/8 Config.in: Add BR2_DEPRECATED_SINCE_2015_05

In preparation for the deprecation of certain features in 2015.05, add the BR2_DEPRECATED_SINCE_2015_05 symbol.

---
 Config.in | 4 ++++
 1 file changed, 4 insertions(+)
Config.in +4 -0
index ce239d6..0598042 100644
@@ -312,6 +312,10 @@ config BR2_DEPRECATED_SINCE_2015_02
 	bool
 	default y
 
+config BR2_DEPRECATED_SINCE_2015_05
+	bool
+	default y
+
 endif
 
 config BR2_ENABLE_DEBUG
Signature · 1 line
2.0.5
#1 lore raw

PATCH v2 2/8 ts5x00_defconfig: switch to BR2_KERNEL_HEADERS_VERSION

In preparation for BR2_KERNEL_HEADERS_3_17 deprecation.

---
 configs/ts5x00_defconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
configs/ts5x00_defconfig +6 -1
index 336f6d9..befb655 100644
@@ -1,6 +1,11 @@
 BR2_i386=y
 BR2_x86_i586=y
-BR2_KERNEL_HEADERS_3_17=y
+
+# Lock headers version to match and avoid breakage
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.17.8"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17=y
+
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
 BR2_ROOTFS_OVERLAY="board/ts/ts5x00/fs-overlay"
 BR2_LINUX_KERNEL=y
Signature · 1 line
2.0.5
#2 lore raw

PATCH v2 3/8 linux-headers: mark EOL versions deprecated

In reply to Gustavo Zacarias

Follow the upstream EOL cycle and mark 3.17 as deprecated for 2015.05.

---
 package/linux-headers/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/linux-headers/Config.in.host +1 -0
index 9ebf48a..e2bc05a 100644
@@ -68,6 +68,7 @@ choice
 
 	config BR2_KERNEL_HEADERS_3_17
 		bool "Linux 3.17.x kernel headers"
+		depends on BR2_DEPRECATED_SINCE_2015_05
 		depends on !BR2_nios2
 		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
 
Signature · 1 line
2.0.5
#3 lore raw

PATCH v2 4/8 toolchain/external: remove xilinx microblaze v2/14.3 toolchains

In reply to Gustavo Zacarias

These have been deprecated since 2014.02

---
 toolchain/toolchain-external/Config.in             | 60 ----------------------
 .../toolchain-external/toolchain-external.hash     |  6 ---
 toolchain/toolchain-external/toolchain-external.mk | 12 -----
 3 files changed, 78 deletions(-)
toolchain/toolchain-external/Config.in +0 -60
index 6ab483a..4321e43 100644
@@ -804,62 +804,6 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
 	  Toolchain for the Blackfin architecture, from
 	  http://blackfin.uclinux.org.
 
-config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
-	bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
-	depends on BR2_microblazeel
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_DEPRECATED_SINCE_2014_02
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	select BR2_HOSTARCH_NEEDS_IA32_LIBS
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
-	help
-	  Toolchain for the Microblaze architecture, from
-	  http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
-	  uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
-
-config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
-	bool "Xilinx Little Endian Microblaze GNU Tools v2"
-	depends on BR2_microblazeel
-	depends on BR2_HOSTARCH = "x86_64"
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_DEPRECATED_SINCE_2014_02
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	# kernel headers: 2.6.37
-	help
-	  Toolchain for the Microblaze architecture, from
-	  http://wiki.xilinx.com/mb-gnu-tools
-
-config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
-	bool "Xilinx Big Endian Microblaze GNU Tools"
-	depends on BR2_microblazebe
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_DEPRECATED_SINCE_2014_02
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	select BR2_HOSTARCH_NEEDS_IA32_LIBS
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
-	help
-	  Toolchain for the Microblaze architecture, from
-	  http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
-	  uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
-
-config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
-	bool "Xilinx Big Endian Microblaze GNU Tools"
-	depends on BR2_microblazebe
-	depends on BR2_HOSTARCH = "x86_64"
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_DEPRECATED_SINCE_2014_02
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	# kernel headers: 2.6.37
-	help
-	  Toolchain for the Microblaze architecture, from
-	  http://wiki.xilinx.com/mb-gnu-tools
-
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
 	bool "Linaro AArch64 14.09"
 	depends on BR2_aarch64
@@ -968,10 +912,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
 	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
 	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
-	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
-	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
-	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
-	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
toolchain/toolchain-external/toolchain-external.hash +0 -6
index 7f211db..1f4de78 100644
@@ -50,9 +50,3 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070  arago-2
 sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891  gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
 sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4  gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
 sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832  gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
-
-# Xilinx microblaze toolchains (hosted on Buildroot because no longer available upstream)
-sha256 3e1c7c53fadfd3346ab60386c573f07f0617ab119546ec8cb93bc20c23cff2b3  lin32-microblazeel-unknown-linux-gnu_14.3_early.tar.xz
-sha256 b72f7be654a75bb643372f3909de7b8739f0f56bdf8bea98fea41dcecefe6b6b  microblazeel-unknown-linux-gnu.tgz
-sha256 ed2fea022f2def257ca6db09911b73c7102aaa1792d2da2d81371a763e5c2eff  lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
-sha256 53ee0b1ad50e651eb14d0b53044b90e7bf7e3cb341ee57fe575bc4c4e142ea37  microblaze-unknown-linux-gnu.tgz
toolchain/toolchain-external/toolchain-external.mk +0 -12
index ab73f9a..f9b8517 100644
@@ -340,18 +340,6 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1),y)
 TOOLCHAIN_EXTERNAL_SITE = http://downloads.sourceforge.net/project/adi-toolchain/2014R1/2014R1-RC2/i386/
 TOOLCHAIN_EXTERNAL_SOURCE = blackfin-toolchain-2014R1-RC2.i386.tar.bz2
 TOOLCHAIN_EXTERNAL_EXTRA_DOWNLOADS = blackfin-toolchain-uclibc-full-2014R1-RC2.i386.tar.bz2
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3),y)
-TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
-TOOLCHAIN_EXTERNAL_SOURCE = lin32-microblazeel-unknown-linux-gnu_14.3_early.tar.xz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2),y)
-TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
-TOOLCHAIN_EXTERNAL_SOURCE = microblazeel-unknown-linux-gnu.tgz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3),y)
-TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
-TOOLCHAIN_EXTERNAL_SOURCE = lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
-TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
-TOOLCHAIN_EXTERNAL_SOURCE = microblaze-unknown-linux-gnu.tgz
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64),y)
 TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries/
 TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
Signature · 1 line
2.0.5
#5 lore raw

PATCH v2 5/8 Config.in: remove BR2_DEPRECATED_SINCE_2014_02

In reply to Gustavo Zacarias

The symbol is unused so remove it.

---
 Config.in | 4 ----
 1 file changed, 4 deletions(-)
Config.in +0 -4
index 0598042..2b39d6a 100644
@@ -296,10 +296,6 @@ config BR2_DEPRECATED
 
 if BR2_DEPRECATED
 
-config BR2_DEPRECATED_SINCE_2014_02
-	bool
-	default y
-
 config BR2_DEPRECATED_SINCE_2014_05
 	bool
 	default y
Signature · 1 line
2.0.5
#6 lore raw

PATCH v2 6/8 libglib2: remove kludges for old and removed xilinx toolchains

In reply to Gustavo Zacarias
---
 package/libglib2/libglib2.mk | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
package/libglib2/libglib2.mk +1 -6
index 991c972..2129a85 100644
@@ -49,17 +49,12 @@ LIBGLIB2_CONF_ENV = \
 	gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no)
 
 # old uClibc versions don't provide qsort_r
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
 LIBGLIB2_CONF_ENV += glib_cv_have_qsort_r=no
 else
 LIBGLIB2_CONF_ENV += glib_cv_have_qsort_r=yes
 endif
 
-# old toolchains don't have working inotify support
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
-LIBGLIB2_CONF_ENV += ac_cv_header_sys_inotify_h=no
-endif
-
 HOST_LIBGLIB2_CONF_OPTS = \
 	--disable-dtrace \
 	--disable-systemtap \
Signature · 1 line
2.0.5
#7 lore raw

PATCH v2 7/8 arch: add support for AMD steamroller

In reply to Gustavo Zacarias

Add support for AMD steamroller optimizations, available in gcc 4.8+ as bdver3.

---
 arch/Config.in.x86                     | 11 +++++++++++
 package/gcc/Config.in.host             |  4 ++--
 toolchain/toolchain-external/Config.in |  3 +++
 3 files changed, 16 insertions(+), 2 deletions(-)
arch/Config.in.x86 +11 -0
index 8a844db..d5788b1 100644
@@ -139,6 +139,15 @@ config BR2_x86_jaguar
 	select BR2_X86_CPU_HAS_SSSE3
 	select BR2_X86_CPU_HAS_SSE4
 	select BR2_X86_CPU_HAS_SSE42
+config BR2_x86_steamroller
+	bool "steamroller"
+	select BR2_X86_CPU_HAS_MMX
+	select BR2_X86_CPU_HAS_SSE
+	select BR2_X86_CPU_HAS_SSE2
+	select BR2_X86_CPU_HAS_SSE3
+	select BR2_X86_CPU_HAS_SSSE3
+	select BR2_X86_CPU_HAS_SSE4
+	select BR2_X86_CPU_HAS_SSE42
 config BR2_x86_geode
 	bool "geode"
 	# Don't include MMX support because there several variant of geode
@@ -189,6 +198,7 @@ config BR2_ARCH
 	default "i686"		if BR2_x86_opteron_sse3 && BR2_i386
 	default "i686"		if BR2_x86_barcelona && BR2_i386
 	default "i686"		if BR2_x86_jaguar && BR2_i386
+	default "i686"		if BR2_x86_steamroller && BR2_i386
 	default "i686"		if BR2_x86_k6
 	default "i686"		if BR2_x86_k6_2
 	default "i686"		if BR2_x86_athlon
@@ -221,6 +231,7 @@ config BR2_GCC_TARGET_ARCH
 	default "k8-sse3"	if BR2_x86_opteron_sse3
 	default "barcelona"	if BR2_x86_barcelona
 	default "btver2"	if BR2_x86_jaguar
+	default "bdver3"	if BR2_x86_steamroller
 	default "k6"		if BR2_x86_k6
 	default "k6-2"		if BR2_x86_k6_2
 	default "athlon"	if BR2_x86_athlon
package/gcc/Config.in.host +2 -2
index dd61f51..e07d881 100644
@@ -29,7 +29,7 @@ choice
 		# SPARC -mcpu=leon3 appeared in gcc 4.8.x
 		depends on !BR2_sparc_leon3
 		# Broken or unsupported X86 cores
-		depends on !BR2_x86_corei7 && !BR2_x86_jaguar
+		depends on !BR2_x86_corei7 && !BR2_x86_jaguar && !BR2_x86_steamroller
 		# ARM EABIhf support appeared in gcc 4.6
 		depends on !BR2_ARM_EABIHF
 		# musl patches only for gcc 4.7+
@@ -49,7 +49,7 @@ choice
 		# SPARC -mcpu=leon3 appeared in gcc 4.8.x
 		depends on !BR2_sparc_leon3
 		# Broken or unsupported x86 cores
-		depends on !BR2_x86_jaguar
+		depends on !BR2_x86_jaguar && !BR2_x86_steamroller
 		select BR2_GCC_NEEDS_MPC
 
 	config BR2_GCC_VERSION_4_8_X
toolchain/toolchain-external/Config.in +3 -0
index 4321e43..e70c3ce 100644
@@ -676,6 +676,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_x86_jaguar
+	depends on !BR2_x86_steamroller
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_INSTALL_LIBSTDCPP
@@ -703,6 +704,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_x86_jaguar
+	depends on !BR2_x86_steamroller
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_INSTALL_LIBSTDCPP
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
@@ -729,6 +731,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_x86_jaguar
+	depends on !BR2_x86_steamroller
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.0.5
#8 lore raw

PATCH v2 7/8 arch: add support for AMD steamroller

Dear Gustavo Zacarias,

toolchain/toolchain-external/Config.in config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209 · line 679

Quoted 9 lines · Gustavo Zacarias
toolchain/toolchain-external/Config.in +1 -0
index 4321e43..e70c3ce 100644
@@ -676,6 +676,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_x86_jaguar
+	depends on !BR2_x86_steamroller

Why do we need this new dependency? Same question for x86_jaguar in fact. Are those toolchains not working at all, or are they just not "optimal" ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#9 lore raw

PATCH v2 7/8 arch: add support for AMD steamroller

Quoted 4 lines · Thomas Petazzoni

Dear Gustavo Zacarias,

On Tue, 3 Mar 2015 12:52:30 -0300, Gustavo Zacarias wrote:

Quoted 13 lines

toolchain/toolchain-external/Config.in config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209 · line 679

Quoted 9 lines
toolchain/toolchain-external/Config.in +1 -0
index 4321e43..e70c3ce 100644
@@ -676,6 +676,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_x86_jaguar
+	depends on !BR2_x86_steamroller

Why do we need this new dependency? Same question for x86_jaguar in fact. Are those toolchains not working at all, or are they just not "optimal" ?

Because older GCCs won't understand bdver3/btver2 and break. Regards.

#10 lore raw

PATCH v2 7/8 arch: add support for AMD steamroller

Dear Gustavo Zacarias,

Quoted 6 lines · Gustavo Zacarias
Quoted 3 lines

Why do we need this new dependency? Same question for x86_jaguar in fact. Are those toolchains not working at all, or are they just not "optimal" ?

Because older GCCs won't understand bdver3/btver2 and break. Regards.

Ah, hum, yes, makes sense. Thanks for the clarification.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#11 lore raw

PATCH v2 8/8 toolchain-external: add CodeSourcery AMD64 2014.05

In reply to Gustavo Zacarias

This toolchain is AMD64-only so restrict it accordingly.

---
 toolchain/toolchain-external/Config.in             | 24 ++++++++++++++++++++++
 .../toolchain-external/toolchain-external.hash     |  4 ++++
 toolchain/toolchain-external/toolchain-external.mk |  3 +++
 3 files changed, 31 insertions(+)
toolchain/toolchain-external/Config.in +24 -0
index e70c3ce..d29bf43 100644
@@ -670,6 +670,29 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
 	  has support for the following variants:
 	    - SH2A, uClibc, big endian
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405
+	bool "Sourcery CodeBench AMD64 2014.05"
+	depends on BR2_x86_64
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	depends on !BR2_STATIC_LIBS
+	depends on BR2_x86_jaguar || BR2_x86_steamroller
+	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	select BR2_INSTALL_LIBSTDCPP
+	select BR2_HOSTARCH_NEEDS_IA32_LIBS
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
+	help
+	  Sourcery CodeBench toolchain for the amd64 (x86_64)
+	  architectures, from Mentor Graphics. It uses gcc 4.8.3,
+	  binutils 2.24.51, glibc 2.18, gdb 7.7.50 and kernel headers
+	  3.13.0. It has support for the following variants:
+	    - AMD Puma/Jaguar (family 16h), glibc
+	    Default for x86_64, nothing special to do.
+	    - AMD Steamroller (family 15h), glibc
+	    Select a steamroller core.
+	  No other architecture variants are supported since glibc
+	  is optimized for one of these two baselines.
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
 	bool "Sourcery CodeBench x86/x86_64 2012.09"
 	depends on BR2_i386 || BR2_x86_64
@@ -931,6 +954,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
 	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
 	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
+	default "x86_64-amd-linux-gnu"   if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405
 	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
 	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
 	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
toolchain/toolchain-external/toolchain-external.hash +4 -0
index 1f4de78..386f987 100644
@@ -6,6 +6,10 @@ md5  14facaac538a43533b89d969d7904d46  mips-2014.05-27-mips-linux-gnu-i686-pc-li
 # From: https://sourcery.mentor.com/GNUToolchain/release2640
 md5  0ba8bc4923c04728ee3787bed4cd5148  mips-2013.11-36-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
 
+# Sourcery CodeBench Lite for AMD64
+# From https://sourcery.mentor.com/GNUToolchain/release2777
+md5	a1f8650d1a5ff726cca0893522fd8745	amd-2014.05-25-x86_64-amd-linux-gnu-i686-pc-linux-gnu.tar.bz2
+
 ######################################
 # Next hashes are all locally computed
 
toolchain/toolchain-external/toolchain-external.mk +3 -0
index f9b8517..78138d3 100644
@@ -328,6 +328,9 @@ TOOLCHAIN_EXTERNAL_SOURCE = ia32-2012.03-27-i686-pc-linux-gnu-i386-linux.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209),y)
 TOOLCHAIN_EXTERNAL_SITE = https://sourcery.mentor.com/public/gnu_toolchain/i686-pc-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE = ia32-2012.09-62-i686-pc-linux-gnu-i386-linux.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_201405),y)
+TOOLCHAIN_EXTERNAL_SITE = https://sourcery.mentor.com/public/gnu_toolchain/x86_64-amd-linux-gnu/
+TOOLCHAIN_EXTERNAL_SOURCE = amd-2014.05-25-x86_64-amd-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2),y)
 TOOLCHAIN_EXTERNAL_SITE = http://downloads.sourceforge.net/project/adi-toolchain/2012R2/2012R2-RC2/i386/
 TOOLCHAIN_EXTERNAL_SOURCE = blackfin-toolchain-2012R2-RC2.i386.tar.bz2
Signature · 1 line
2.0.5
#12 lore raw

PATCH v2 1/8 Config.in: Add BR2_DEPRECATED_SINCE_2015_05

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

In preparation for the deprecation of certain features in 2015.05, add the BR2_DEPRECATED_SINCE_2015_05 symbol.

---
 Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Entire series applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com