All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] toolchain/toolchain-buildroot: enable uclibc for riscv64
Date: Sat, 9 May 2020 12:05:28 +0200	[thread overview]
Message-ID: <20200509120528.6ff5c45f@windsurf.home> (raw)
In-Reply-To: <20200508103338.16391-1-mark@dibsco.co.uk>

On Fri,  8 May 2020 11:33:37 +0100
Mark Corbin <mark@dibsco.co.uk> wrote:

>  config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
>  	bool "uClibc-ng"
> -	depends on BR2_aarch64 || BR2_aarch64_be || BR2_arcle   || BR2_arceb  || \
> -		   BR2_arm     || BR2_armeb    || \
> -		   BR2_i386    || BR2_m68k   || BR2_microblaze || \
> -		   BR2_mips    || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
> -		   BR2_or1k    || BR2_powerpc || BR2_sh2a   || BR2_sh4	   || \
> -		   BR2_sh4eb   || BR2_sparc   || BR2_xtensa || BR2_x86_64
> +	depends on BR2_aarch64 || BR2_aarch64_be || BR2_arcle      || BR2_arceb    || \
> +		   BR2_arm     || BR2_armeb      || \
> +		   BR2_i386    || BR2_m68k       || BR2_microblaze || \
> +		   BR2_mips    || BR2_mipsel     || BR2_mips64     || BR2_mips64el || \
> +		   BR2_or1k    || BR2_powerpc    || BR2_riscv      || \
> +		   BR2_sh2a    || BR2_sh4	 || BR2_sh4eb      || BR2_sparc    || \
> +		   BR2_xtensa  || BR2_x86_64
> +	depends on BR2_ARCH_IS_64 || !BR2_riscv

I think we really want to keep a single "depends on", so just add:

	.... || (BR2_riscv && BR2_ARCH_IS_64) ||

or simpler:

	.... || BR2_RISCV_64 || ...

You could also use BR2_RISCV_64 in package/uclibc/Config.in.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2020-05-09 10:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08 10:33 [Buildroot] [PATCH 1/2] toolchain/toolchain-buildroot: enable uclibc for riscv64 Mark Corbin
2020-05-08 10:33 ` [Buildroot] [PATCH 2/2] support/config-fragments: add RISC-V 64-bit uclibc autobuild config Mark Corbin
2020-05-08 19:44   ` Alistair Francis
2020-05-09 10:07   ` Thomas Petazzoni
2020-05-09 12:37     ` Mark Corbin
2020-05-09 14:23       ` Thomas Petazzoni
2020-05-08 19:44 ` [Buildroot] [PATCH 1/2] toolchain/toolchain-buildroot: enable uclibc for riscv64 Alistair Francis
2020-05-09 10:05 ` Thomas Petazzoni [this message]

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=20200509120528.6ff5c45f@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.