| # Copyright (C) 2020 Texas Instruments Inc. |
| # Released under the MIT license (see COPYING.MIT for the terms) |
| |
| require arm-binary-toolchain.inc |
| |
| COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" |
| |
| SUMMARY = "Arm GNU Toolchain - AArch64 bare-metal target (aarch64-none-elf)" |
| LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" |
| |
| LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=402090210d41f07263e91f760d0d1ea3" |
| LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=2a62a4d37ddad55da732679acd9edf03" |
| |
| SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gcc-${HOST_ARCH}" |
| SRC_URI[gcc-aarch64.sha256sum] = "f3871c0d91a7375834eb43eb758f4df6d8dadf20ad9deca2eb569d5599d98e89" |
| SRC_URI[gcc-x86_64.sha256sum] = "7fe7b8548258f079d6ce9be9144d2a10bd2bf93b551dafbf20fe7f2e44e014b8" |
| |
| S = "${WORKDIR}/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}" |
| |
| UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads" |
| UPSTREAM_CHECK_REGEX = "gcc-arm-(?P<pver>.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+" |