blob: 7fab1e130c11bdd93d7bd77525f1987c229fd58c [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# Copyright (C) 2019 Garmin Ltd. or its subsidiaries
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 - AArch32 bare-metal target (arm-none-eabi)"
9LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
10
Patrick Williams2a254922023-08-11 09:48:11 -050011LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=be4f8b5ff7319cd54f6c52db5d6f36b0"
12LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=1f07179249795891179bb3798bac7887"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040013
Patrick Williams2a254922023-08-11 09:48:11 -050014BINNAME = "arm-none-eabi"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040015
Patrick Williams2a254922023-08-11 09:48:11 -050016SRC_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] = "ef1d82e5894e3908cb7ed49c5485b5b95deefa32872f79c2b5f6f5447cabf55f"
18SRC_URI[gcc-x86_64.sha256sum] = "8c5acd5ae567c0100245b0556941c237369f210bceb196edfe5a2e7532c60326"
19
20S = "${WORKDIR}/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040021
22UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads"
23UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>.+)-${HOST_ARCH}-linux\.tar\.\w+"