package/rustc: Add BR2_riscv_g to condition of tier2 host tools
PATCH 1/1 package/rustc: Add BR2_riscv_g to condition of tier2 host tools
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.
--- package/rustc/Config.in.host | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/rustc/Config.in.host +2 -2
@@ -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
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines · Yu Chien Peter Lin
BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMSshould be enabled whenBR2_riscv_gis selected, otherwise the packages depends onBR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTSneed 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
Quoted 25 lines
Signed-off-by Yu Chien Peter Lin <[email protected]>--- package/rustc/Config.in.host | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/rustc/Config.in.host +2
-2@@ -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_GLIBCSignature · 1 line
2.34.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot