From: Yu-Chien Peter Lin <peterlin@andestech.com>
To: <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH] package/rustc: Add BR2_riscv_g to condition of tier2 host tools
Date: Sun, 13 Nov 2022 10:38:26 +0000 [thread overview]
Message-ID: <Y3DJIug0WIBvJljr@APC323> (raw)
In-Reply-To: <20221112125113.18264-1-peterlin@andestech.com>
On Sat, Nov 12, 2022 at 08:51:13PM +0800, Yu Chien Peter Lin wrote:
> BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS should be
> enabled when BR2_riscv_g is selected, otherwise the packages depends
> on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS need to enable
> BR2_RISCV_ISA_CUSTOM_RV{M,A,F,D,C} explicitly to make rustc available.
Sorry, I need to enable RVC for rustc, please revoke this patch.
Peter Lin
>
> Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
> ---
> package/rustc/Config.in.host | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host
> index 822de68dbb..143425f1cd 100644
> --- a/package/rustc/Config.in.host
> +++ b/package/rustc/Config.in.host
> @@ -61,9 +61,9 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS
> default y if BR2_powerpc64le && BR2_TOOLCHAIN_USES_GLIBC
> # riscv64gc-unknown-linux-gnu
> # "g" stands for imafd, and we also need "c".
> - default y if BR2_RISCV_64 && BR2_RISCV_ISA_RVI && BR2_RISCV_ISA_RVM && \
> + default y if BR2_RISCV_64 && (BR2_riscv_g || BR2_RISCV_ISA_RVI && BR2_RISCV_ISA_RVM && \
> BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \
> - BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \
> + BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC) && \
> BR2_TOOLCHAIN_USES_GLIBC
> # s390x-unknown-linux-gnu
> default y if BR2_s390x && BR2_TOOLCHAIN_USES_GLIBC
> --
> 2.34.1
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-11-13 2:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-12 12:51 [Buildroot] [PATCH] package/rustc: Add BR2_riscv_g to condition of tier2 host tools Yu Chien Peter Lin
2022-11-13 10:38 ` Yu-Chien Peter Lin [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=Y3DJIug0WIBvJljr@APC323 \
--to=peterlin@andestech.com \
--cc=buildroot@buildroot.org \
/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