Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] rustc: enable on powerpc64le architecture
@ 2018-05-16  6:29 Sam Bobroff
  2018-05-16 18:49 ` Eric Le Bihan
  2018-05-19 12:18 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Sam Bobroff @ 2018-05-16  6:29 UTC (permalink / raw)
  To: buildroot

Rust supports powerpc64le to the same level as powerpc64, so allow it.

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
---
Hi Buildroot,

I've tested this on a powerpc64le Power8 machine using the pre-built toolchain
(it is available for this arch), and it works fine. Also, thanks to Eric Le
Bihan for the inital work!

Cheers,
Sam.

 package/rustc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host
index 1c79eededc..84a8e0f90b 100644
--- a/package/rustc/Config.in.host
+++ b/package/rustc/Config.in.host
@@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
 	default y if BR2_aarch64
 	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 \
 	        && !(BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI)
-	default y if BR2_powerpc || BR2_powerpc64
+	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
 	default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_CPU_MIPS32R6
 	default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \
 		&& BR2_MIPS_NABI64
-- 
2.16.1.74.g9b0b1f47b

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] rustc: enable on powerpc64le architecture
  2018-05-16  6:29 [Buildroot] [PATCH 1/1] rustc: enable on powerpc64le architecture Sam Bobroff
@ 2018-05-16 18:49 ` Eric Le Bihan
  2018-05-19 12:18 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Le Bihan @ 2018-05-16 18:49 UTC (permalink / raw)
  To: buildroot

Hi!

On 2018-05-16 16:29, Sam Bobroff wrote:
> Rust supports powerpc64le to the same level as powerpc64, so allow it.
>
> Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
> ---
> Hi Buildroot,
>
> I've tested this on a powerpc64le Power8 machine using the pre-built toolchain
> (it is available for this arch), and it works fine. Also, thanks to Eric Le
> Bihan for the inital work!

Tested OK with pre-built and full rustc variants using
qemu_ppc64le_pseries_defconfig.

Tested-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Acked-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>

Regards,

--
ELB

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] rustc: enable on powerpc64le architecture
  2018-05-16  6:29 [Buildroot] [PATCH 1/1] rustc: enable on powerpc64le architecture Sam Bobroff
  2018-05-16 18:49 ` Eric Le Bihan
@ 2018-05-19 12:18 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-05-19 12:18 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 16 May 2018 16:29:09 +1000, Sam Bobroff wrote:
> Rust supports powerpc64le to the same level as powerpc64, so allow it.
> 
> Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
> ---
> Hi Buildroot,

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-19 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-16  6:29 [Buildroot] [PATCH 1/1] rustc: enable on powerpc64le architecture Sam Bobroff
2018-05-16 18:49 ` Eric Le Bihan
2018-05-19 12:18 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox