<commit_before>DESCRIPTION = "Linaro baremetal ARM toolchain (prebuilt)"
HOMEPAGE = "https://linaro.org/downloads"
LICENSE = "GPL-3.0-with-GCC-exception & LGPLv3 & GPLv3 & GFDL-1.3"
SECTION = "devel"

BASEVER = "${@'.'.join(d.getVar('PV').split('.')[0:2]) + '-' + d.getVar('PV').split('-')[1]}"
SRC_URI = "https://releases.linaro.org/components/toolchain/binaries/${BASEVER}/arm-eabi/gcc-linaro-${PV}-x86_64_arm-eabi.tar.xz"
SRC_URI[md5sum] = "0a8e5b7b67d713ece5fe24b120393b03"
SRC_URI[sha256sum] = "d4ae43bd325f3a8df2bcfcc1909c1c28356e1e9f5705e21790b17c68830733d7"

LIC_FILES_CHKSUM = "file://share/doc/gcc/Copying.html;md5=4d3dd12c455cd0ef6a53bead7defe99a"

inherit native

S = "${WORKDIR}/gcc-linaro-${PV}-x86_64_arm-eabi"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install() {<commit_msg>contrib: gcc-linaro-baremetal: update LICENSE setting<commit_after>DESCRIPTION = "Linaro baremetal ARM toolchain (prebuilt)"
HOMEPAGE = "https://linaro.org/downloads"
LICENSE = "GPL-3.0-with-GCC-exception & LGPL-3.0-only & GPL-3.0-only & GFDL-1.3"
SECTION = "devel"

BASEVER = "${@'.'.join(d.getVar('PV').split('.')[0:2]) + '-' + d.getVar('PV').split('-')[1]}"
SRC_URI = "https://releases.linaro.org/components/toolchain/binaries/${BASEVER}/arm-eabi/gcc-linaro-${PV}-x86_64_arm-eabi.tar.xz"
SRC_URI[md5sum] = "0a8e5b7b67d713ece5fe24b120393b03"
SRC_URI[sha256sum] = "d4ae43bd325f3a8df2bcfcc1909c1c28356e1e9f5705e21790b17c68830733d7"

LIC_FILES_CHKSUM = "file://share/doc/gcc/Copying.html;md5=4d3dd12c455cd0ef6a53bead7defe99a"

inherit native

S = "${WORKDIR}/gcc-linaro-${PV}-x86_64_arm-eabi"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install() {
{'fraction_non_alphanumeric': 0.18967587034813926, 'fraction_numerical': 0.12004801920768307, 'mean_word_length': 6.343612334801762, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4159113', 'n_tokens_mistral': 876, 'n_tokens_neox': 768, 'n_words': 74}