From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 23 Feb 2014 10:48:07 +0100 Subject: [Buildroot] [PATCH] external toolchain: [ARC] gcc cpu parameter In-Reply-To: <884EA965490E3C4D8E66AEF41E98025006BF3A@ezex10.ezchip.com> References: <884EA965490E3C4D8E66AEF41E98025006BF3A@ezex10.ezchip.com> Message-ID: <20140223104807.473b5d47@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Noam Camus, On Sun, 23 Feb 2014 08:28:55 +0000, Noam Camus wrote: > external toolchain passes -mcpu=arc700 > However compiler is familiar with -mcpu=ARC700 > > Signed-off-by: Noam Camus > --- > arch/Config.in.arc | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/Config.in.arc b/arch/Config.in.arc index 60b59f0..53e7052 100644 > --- a/arch/Config.in.arc > +++ b/arch/Config.in.arc > @@ -11,4 +11,5 @@ config BR2_ENDIAN > default "BIG" if BR2_arceb > > config BR2_GCC_TARGET_CPU > + default "ARC700" if BR2_TOOLCHAIN_EXTERNAL > default "arc700" We clearly don't want to use BR2_TOOLCHAIN_EXTERNAL here as a condition. What is the official value? Is it -mcpu=arc700 or -mcpu=ARC700 ? Maybe the existing arc700 value was wrong and should just be fixed? Or does the value depends on the gcc version? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com