Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] package/rustc: fix target names for i586 and i686
Date: Sun, 17 Jul 2022 08:56:15 +0200	[thread overview]
Message-ID: <20220717065615.GT2543@scaer> (raw)
In-Reply-To: <87a698fmnf.fsf@tarshish>

Baruch, All,

On 2022-07-17 06:21 +0300, Baruch Siach via buildroot spake thusly:
> On Sat, Jul 16 2022, Yann E. MORIN wrote:
> > Commit d69d40c029dc (package/rustc: add support for Tier 1 and Tier 2
> > platforms) misspelled the config options for i586 and i686.
> >
> > They are BR2_i386_i586 and BR2_i386_i686, not BR2_i586 or BR2_i686.
> 
> You mean BR2_x86_i586 and BR2_x86_i686, right? Because that's what the
> patch does.

Aha, good catch, thanks! :-)

"Why would I copy-paste the options names, they are simple enough, it's
gonna be faster to type them..." did I think while fixing typoes in
simple variable names. Doh...

So, I double-checked, and the options really arenamed BR2_x86_i586 and
BR2_x86_i686. And this time, I did copy-pate them:-)

Regards,
Yann E. MORIN.

> baruch
> 
> > Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> > ---
> >  package/rustc/Config.in.host | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host
> > index 27c3a3cdeb..fec8726aee 100644
> > --- a/package/rustc/Config.in.host
> > +++ b/package/rustc/Config.in.host
> > @@ -25,7 +25,7 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER1_PLATFORMS
> >  	# aarch64-unknown-linux-gnu
> >  	default y if BR2_aarch64 && BR2_TOOLCHAIN_USES_GLIBC
> >  	# i686-unknown-linux-gnu
> > -	default y if (BR2_i686 || BR2_x86_pentiumpro || BR2_X86_CPU_HAS_MMX) && BR2_TOOLCHAIN_USES_GLIBC
> > +	default y if (BR2_x86_i686 || BR2_x86_pentiumpro || BR2_X86_CPU_HAS_MMX) && BR2_TOOLCHAIN_USES_GLIBC
> >  	# x86_64-unknown-linux-gnu
> >  	default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_GLIBC
> >  
> > @@ -93,11 +93,11 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_PLATFORMS
> >  	# userspace
> >  	default y if BR2_arm && BR2_ARM_CPU_ARMV8A && BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_MUSL
> >  	# i586-unknown-linux-gnu
> > -	default y if BR2_i586 && BR2_TOOLCHAIN_USES_GLIBC
> > +	default y if BR2_x86_i586 && BR2_TOOLCHAIN_USES_GLIBC
> >  	# i586-unknown-linux-musl
> > -	default y if BR2_i586 && BR2_TOOLCHAIN_USES_MUSL
> > +	default y if BR2_x86_i586 && BR2_TOOLCHAIN_USES_MUSL
> >  	# i686-unknown-linux-musl
> > -	default y if (BR2_i686 || BR2_x86_pentiumpro || BR2_X86_CPU_HAS_MMX) && BR2_TOOLCHAIN_USES_MUSL
> > +	default y if (BR2_x86_i686 || BR2_x86_pentiumpro || BR2_X86_CPU_HAS_MMX) && BR2_TOOLCHAIN_USES_MUSL
> >  	# mips-unknown-linux-musl
> >  	default y if BR2_mips && BR2_TOOLCHAIN_USES_MUSL && !BR2_MIPS_CPU_MIPS32R6
> >  	# mips64-unknown-linux-muslabi64
> 
> 
> -- 
>                                                      ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-07-17  6:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-16 21:30 [Buildroot] [PATCH 0/2] pacakge: drop remnants of $(HOST_DIR)/usr (branch yem/no-host-dir-usr) Yann E. MORIN
2022-07-16 21:30 ` [Buildroot] [PATCH 1/2] package/rustc: fix target names for i586 and i686 Yann E. MORIN
2022-07-17  3:21   ` Baruch Siach via buildroot
2022-07-17  6:56     ` Yann E. MORIN [this message]
2022-07-24  9:01       ` Romain Naour
2022-08-16 20:11   ` Peter Korsgaard
2022-07-16 21:30 ` [Buildroot] [PATCH 2/2] pacakge: drop remnants of $(HOST_DIR)/usr Yann E. MORIN
2022-07-24  8:38   ` Romain Naour
2022-07-24 10:15 ` [Buildroot] [PATCH 0/2] pacakge: drop remnants of $(HOST_DIR)/usr (branch yem/no-host-dir-usr) 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=20220717065615.GT2543@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=baruch@tkos.co.il \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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