blob: db8851eb068c2390c6cb8474b3b62874328db19d [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
Andrew Geisslerea144b02023-01-27 16:03:57 -060011LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=0aef214b835259b64f026f4ad00c703e"
12LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=7ba3bc8ef145b48e2756a844db2029a3"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040013
Andrew Geisslerea144b02023-01-27 16:03:57 -060014SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gcc-${HOST_ARCH}"
15SRC_URI[gcc-aarch64.sha256sum] = "570a9bd42e2067d79d59b0747891681ebec66f30d989d17a05856563fe38f78b"
16SRC_URI[gcc-x86_64.sha256sum] = "62d66e0ad7bd7f2a183d236ee301a5c73c737c886c7944aa4f39415aab528daf"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040017
Andrew Geisslerea144b02023-01-27 16:03:57 -060018S = "${WORKDIR}/arm-gnu-toolchain-${PV}-${HOST_ARCH}-${BINNAME}"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040019
20UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads"
21UPSTREAM_CHECK_REGEX = "gcc-arm-(?P<pver>.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+"