Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/5] arch/arm: fix defaults for AArch64 in 64-bit mode
Date: Wed, 5 Jul 2017 13:01:31 +0200	[thread overview]
Message-ID: <20170705110131.GG3499@scaer> (raw)
In-Reply-To: <20170705105506.eutzkvcalunabk2b@tarshish>

Baruch, All,

On 2017-07-05 13:55 +0300, Baruch Siach spake thusly:
> On Wed, Jul 05, 2017 at 12:25:34PM +0200, Yann E. MORIN wrote:
> > Even in 64-bit mode we have to specify the -mcpu value.
> > 
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > ---
> >  arch/Config.in.arm | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/arch/Config.in.arm b/arch/Config.in.arm
> > index aaf4506d7f..e6beacf3d8 100644
> > --- a/arch/Config.in.arm
> > +++ b/arch/Config.in.arm
> > @@ -534,9 +534,9 @@ config BR2_GCC_TARGET_CPU
> >  	default "strongarm"	if BR2_strongarm
> >  	default "xscale"	if BR2_xscale
> >  	default "iwmmxt"	if BR2_iwmmxt
> > -	default "cortex-a53"		if (BR2_cortex_a53 && !BR2_ARCH_IS_64)
> > -	default "cortex-a57"		if (BR2_cortex_a57 && !BR2_ARCH_IS_64)
> > -	default "cortex-a72"		if (BR2_cortex_a72 && !BR2_ARCH_IS_64)
> > +	default "cortex-a53"		if (BR2_cortex_a53)
> > +	default "cortex-a57"		if (BR2_cortex_a57)
> > +	default "cortex-a72"		if (BR2_cortex_a72)
> 
> What are the parentheses good for?

They are just so that the series is not applied on the first go. ;-)

Regards,
Yann E. MORIN.

> baruch
> 
> >  
> >  config BR2_GCC_TARGET_ABI
> >  	default "aapcs-linux"	if BR2_arm || BR2_armeb
> 
> -- 
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2017-07-05 11:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 10:25 [Buildroot] [PATCH 0/5] arch/arm: introduce big.LITTLE configurations Yann E. MORIN
2017-07-05 10:25 ` [Buildroot] [PATCH 1/5] arch/arm: fix -mcpu default values for AArch64 Yann E. MORIN
2017-07-05 10:25 ` [Buildroot] [PATCH 2/5] arch/arm: fix defaults for AArch64 in 64-bit mode Yann E. MORIN
2017-07-05 10:55   ` Baruch Siach
2017-07-05 11:01     ` Yann E. MORIN [this message]
2017-07-05 10:25 ` [Buildroot] [PATCH 3/5] package/kvm-unit-tests: introduce _ARCH_SUPPORTS Yann E. MORIN
2017-07-05 10:25 ` [Buildroot] [PATCH 4/5] arch/arm: add big.LITTLE cpu variants Yann E. MORIN
2017-07-05 10:25 ` [Buildroot] [PATCH 5/5] package/kvm-unit-test: available for big.LITTLE arm cores too Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170705110131.GG3499@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox