From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60921C4332F for ; Sat, 12 Nov 2022 12:51:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DAC7F4092F; Sat, 12 Nov 2022 12:51:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DAC7F4092F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdxiAlUG_cWq; Sat, 12 Nov 2022 12:51:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id E419D4091B; Sat, 12 Nov 2022 12:51:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org E419D4091B Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F10321BF82C for ; Sat, 12 Nov 2022 12:51:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C51594091B for ; Sat, 12 Nov 2022 12:51:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C51594091B X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aRGyXjMkN6Ph for ; Sat, 12 Nov 2022 12:51:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 8C27240914 Received: from Atcsqr.andestech.com (60-248-80-70.hinet-ip.hinet.net [60.248.80.70]) by smtp4.osuosl.org (Postfix) with ESMTPS id 8C27240914 for ; Sat, 12 Nov 2022 12:51:21 +0000 (UTC) Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 2ACCpGe8092403 for ; Sat, 12 Nov 2022 20:51:16 +0800 (+08) (envelope-from peterlin@andestech.com) Received: from atcfdc88.andestech.com (10.0.15.120) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Sat, 12 Nov 2022 20:51:16 +0800 From: Yu Chien Peter Lin To: Date: Sat, 12 Nov 2022 20:51:13 +0800 Message-ID: <20221112125113.18264-1-peterlin@andestech.com> X-Mailer: git-send-email 2.38.0.68.ge85701b4af.dirty MIME-Version: 1.0 X-Originating-IP: [10.0.15.120] X-DNSRBL: X-MAIL: Atcsqr.andestech.com 2ACCpGe8092403 Subject: [Buildroot] [PATCH] package/rustc: Add BR2_riscv_g to condition of tier2 host tools X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peterlin@andestech.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" 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. Signed-off-by: Yu Chien Peter Lin --- 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