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