From 211a4848b73303b246f82f1aff899748dcfe902f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 6 Jun 2022 09:53:25 +0200 Subject: [PATCH] package/rustc: fix BR2_PACKAGE_HOST_RUSTC_ARCH for ARMv6 Fix the following build failure with ARMv6 raised since commit d69d40c029dc7d8199b745eaee759d92b66c5d17: rust-1.60.0-x86_64-unknown-linux-gnu.tar.xz: OK (sha256: 83c3fb8645379ec308192fa713df87044892639495722077e07aa779b310239e) wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-20/output-1/build/.rust-std-1.60.0-armeb-unknown-linux-musleabi.tar.xz.rnWGvt/output' 'https://static.rust-lang.org/dist/rust-std-1.60.0-armeb-unknown-linux-musleabi.tar.xz' --2022-06-05 12:30:08-- https://static.rust-lang.org/dist/rust-std-1.60.0-armeb-unknown-linux-musleabi.tar.xz Resolving static.rust-lang.org (static.rust-lang.org)... 108.156.120.70, 108.156.120.75, 108.156.120.122, ... Connecting to static.rust-lang.org (static.rust-lang.org)|108.156.120.70|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2022-06-05 12:30:08 ERROR 404: Not Found. Fixes: - http://autobuild.buildroot.org/results/4b187767c233f0dae3fa7f8fea9dd67e2b5bb7d0 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/rustc/Config.in.host | 1 + 1 file changed, 1 insertion(+) diff --git a/package/rustc/Config.in.host b/package/rustc/Config.in.host index a86d95236d..9ce0f62592 100644 --- a/package/rustc/Config.in.host +++ b/package/rustc/Config.in.host @@ -114,6 +114,7 @@ config BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS config BR2_PACKAGE_HOST_RUSTC_ARCH string default "armv5te" if BR2_ARM_CPU_ARMV5 + default "arm" if BR2_ARM_CPU_ARMV6 default "armv7" if BR2_ARM_CPU_ARMV7A default "riscv64gc" if BR2_RISCV_64 default BR2_ARCH