Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | # Copyright (C) 2020 Texas Instruments Inc. |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | require arm-binary-toolchain.inc |
| 5 | |
| 6 | COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" |
| 7 | |
| 8 | SUMMARY = "Arm GNU Toolchain - AArch64 bare-metal target (aarch64-none-elf)" |
| 9 | LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" |
| 10 | |
| 11 | LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=be4f8b5ff7319cd54f6c52db5d6f36b0" |
| 12 | LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=1f07179249795891179bb3798bac7887" |
| 13 | |
| 14 | PROVIDES = "virtual/aarch64-none-elf-gcc" |
| 15 | |
| 16 | SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gcc-${HOST_ARCH}" |
| 17 | SRC_URI[gcc-aarch64.sha256sum] = "3b15725545a0211a17b63e72d4f10241f7ffbe7ce94cb9612590ceacde16992c" |
| 18 | SRC_URI[gcc-x86_64.sha256sum] = "b0a015a9e8cbb44ed2fe5ad755a7a7ae254d54f93df3bf47378485b0ba8b828b" |
| 19 | |
| 20 | S = "${WORKDIR}/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}" |
| 21 | |
| 22 | UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads" |
| 23 | UPSTREAM_CHECK_REGEX = "gcc-arm-(?P<pver>.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+" |