Message ID | b7c10a694ccefce0047adc8e5e6d7ca2954663e3.1338732273.git.thomas.petazzoni@free-electrons.com |
---|---|
State | Changes Requested |
Headers | show |
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas> ---
Thomas> toolchain/toolchain-external/Config.in | 20 ++++++++++++++++++++
Thomas> toolchain/toolchain-external/ext-tool.mk | 3 +++
Thomas> 2 files changed, 23 insertions(+)
Thomas> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
Thomas> index 2bf9c3e..be24659 100644
Thomas> --- a/toolchain/toolchain-external/Config.in
Thomas> +++ b/toolchain/toolchain-external/Config.in
Thomas> @@ -332,6 +332,25 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
Thomas> - 970 glibc hard-float, 64 bits
Thomas> Set BR2_TARGET_OPTIMIZATION to -m64
Thomas> +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
Thomas> + bool "Sourcery CodeBench SH 2012.03"
Thomas> + depends on BR2_sh4a || BR2_sh4aeb
Thomas> + select BR2_TOOLCHAIN_EXTERNAL_GLIBC
Thomas> + select BR2_INSTALL_LIBSTDCPP
Thomas> + help
Thomas> + Sourcery CodeBench toolchain for the SuperH architecture,
Thomas> + from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
Thomas> + glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
How does this fit with patch 10/10 where you state it uses glibc 2.15?
On Sun, Jun 3, 2012 at 4:04 PM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> > --- > toolchain/toolchain-external/Config.in | 20 ++++++++++++++++++++ > toolchain/toolchain-external/ext-tool.mk | 3 +++ > 2 files changed, 23 insertions(+) > > diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in > index 2bf9c3e..be24659 100644 > --- a/toolchain/toolchain-external/Config.in > +++ b/toolchain/toolchain-external/Config.in > @@ -332,6 +332,25 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 > - 970 glibc hard-float, 64 bits > Set BR2_TARGET_OPTIMIZATION to -m64 > > +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 > + bool "Sourcery CodeBench SH 2012.03" > + depends on BR2_sh4a || BR2_sh4aeb > + select BR2_TOOLCHAIN_EXTERNAL_GLIBC > + select BR2_INSTALL_LIBSTDCPP > + help > + Sourcery CodeBench toolchain for the SuperH architecture, > + from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20, > + glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers > + 2.6.38. It has support for the following variants: > + - SH4A, glibc, little endian > + Default. > + - SH4A, glibc, big endian > + Add -mb to BR2_TARGET_OPTIMIZATION > + - SH4A, uClibc, little endian > + Not usable in Buildroot yet. > + - SH4A, uClibc, big endian > + Not usable in Buildroot yet. Same indentation remark. > + > config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 > bool "Sourcery CodeBench SH 2011.03" > depends on BR2_sh4a || BR2_sh4aeb > @@ -549,6 +568,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX > default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 > default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009 > default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 > + default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 > default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009 > default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103 > default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009 > diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk > index 27d71ab..263a30c 100644 > --- a/toolchain/toolchain-external/ext-tool.mk > +++ b/toolchain/toolchain-external/ext-tool.mk > @@ -224,6 +224,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-45-sh-linux-gnu-i686-pc-linux-gnu.tar. > else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103),y) > TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/sgpp/lite/superh/portal/package8759/public/sh-linux-gnu/ > TOOLCHAIN_EXTERNAL_SOURCE=renesas-2011.03-37-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2 > +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203),y) > +TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package10148/public/sh-linux-gnu/ > +TOOLCHAIN_EXTERNAL_SOURCE=renesas-2012.03-35-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2 > else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009),y) > TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/superh/portal/package7859/public/sh-uclinux/ > TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-60-sh-uclinux-i686-pc-linux-gnu.tar.bz2 > -- > 1.7.9.5 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
Le Mon, 04 Jun 2012 09:44:25 +0200, Peter Korsgaard <jacmet@uclibc.org> a écrit : > Thomas> +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 > Thomas> + bool "Sourcery CodeBench SH 2012.03" > Thomas> + depends on BR2_sh4a || BR2_sh4aeb > Thomas> + select BR2_TOOLCHAIN_EXTERNAL_GLIBC > Thomas> + select BR2_INSTALL_LIBSTDCPP > Thomas> + help > Thomas> + Sourcery CodeBench toolchain for the SuperH architecture, > Thomas> + from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20, > Thomas> + glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers > > How does this fit with patch 10/10 where you state it uses glibc 2.15? It fits with the "too-much-copy-paste" problem :) Thomas
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in index 2bf9c3e..be24659 100644 --- a/toolchain/toolchain-external/Config.in +++ b/toolchain/toolchain-external/Config.in @@ -332,6 +332,25 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 - 970 glibc hard-float, 64 bits Set BR2_TARGET_OPTIMIZATION to -m64 +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 + bool "Sourcery CodeBench SH 2012.03" + depends on BR2_sh4a || BR2_sh4aeb + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_INSTALL_LIBSTDCPP + help + Sourcery CodeBench toolchain for the SuperH architecture, + from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20, + glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers + 2.6.38. It has support for the following variants: + - SH4A, glibc, little endian + Default. + - SH4A, glibc, big endian + Add -mb to BR2_TARGET_OPTIMIZATION + - SH4A, uClibc, little endian + Not usable in Buildroot yet. + - SH4A, uClibc, big endian + Not usable in Buildroot yet. + config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 bool "Sourcery CodeBench SH 2011.03" depends on BR2_sh4a || BR2_sh4aeb @@ -549,6 +568,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009 default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 + default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009 default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103 default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009 diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk index 27d71ab..263a30c 100644 --- a/toolchain/toolchain-external/ext-tool.mk +++ b/toolchain/toolchain-external/ext-tool.mk @@ -224,6 +224,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-45-sh-linux-gnu-i686-pc-linux-gnu.tar. else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103),y) TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/sgpp/lite/superh/portal/package8759/public/sh-linux-gnu/ TOOLCHAIN_EXTERNAL_SOURCE=renesas-2011.03-37-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2 +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203),y) +TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package10148/public/sh-linux-gnu/ +TOOLCHAIN_EXTERNAL_SOURCE=renesas-2012.03-35-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009),y) TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/superh/portal/package7859/public/sh-uclinux/ TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-60-sh-uclinux-i686-pc-linux-gnu.tar.bz2
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- toolchain/toolchain-external/Config.in | 20 ++++++++++++++++++++ toolchain/toolchain-external/ext-tool.mk | 3 +++ 2 files changed, 23 insertions(+)