From 38646ed13ef5b6486e10120fb67c9a38f3206b82 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 4 Dec 2020 15:29:01 +0000 Subject: [PATCH] arm-toolchain/gcc-arm-none-eabi: support aarch64 hosts This binary toolchain is also available for aarch64, so support fetching that too. Change-Id: I6206d8a9b4221d8461070d0cb7fff40c712c3df0 Signed-off-by: Ross Burton Reviewed-by: Sumit Garg Signed-off-by: Jon Mason --- .../gcc-arm-none-eabi_9-2019-q4-major.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb index dcc76a93..ede9ae99 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb @@ -3,7 +3,7 @@ require arm-binary-toolchain.inc -COMPATIBLE_HOST = "x86_64.*-linux" +COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors" LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" @@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634 PROVIDES = "virtual/arm-none-eabi-gcc" -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/${BPN}-${PV}-x86_64-linux.tar.bz2" - -SRC_URI[md5sum] = "fe0029de4f4ec43cf7008944e34ff8cc" -SRC_URI[sha256sum] = "bcd840f839d5bf49279638e9f67890b2ef3a7c9c7a9b25271e83ec4ff41d177a" +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/${BPN}-${PV}-${HOST_ARCH}-linux.tar.bz2;name=gnu-rm-${HOST_ARCH}" +SRC_URI[gnu-rm-x86_64.sha256sum] = "bcd840f839d5bf49279638e9f67890b2ef3a7c9c7a9b25271e83ec4ff41d177a" +SRC_URI[gnu-rm-aarch64.sha256sum] = "1f5b9309006737950b2218250e6bb392e2d68d4f1a764fe66be96e2a78888d83"