mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
arm: add arm gcc 7.3.1 native support
Add native gcc version 7.3.1 to support build of boot-firmware. Change-Id: I0c64c6217f88e667f24155e1a587badfcc097917 Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
This commit is contained in:
committed by
Tushar Khandelwal
parent
7e362ece84
commit
9f34cbb321
@@ -0,0 +1,36 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2019 Arm Limited
|
||||
#
|
||||
|
||||
# Recipe for fetching and installing the prebuilt gcc-arm toolchain for
|
||||
# bare-metal targets.
|
||||
# Recipe based on the meta-ti layer:
|
||||
# http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/devtools/gcc-arm-none-eabi-native_4.9.2015q3.bb?h=master
|
||||
#
|
||||
# Whilst most of the tools built in relies on the linaro-provided
|
||||
# toolchain, some recipes require the baremetal Arm GCC toolchain. The baremetal
|
||||
# Arm GCC toolchain is distributed as precompiled binaries. This recipe fetches
|
||||
# the toolchain and installs it in sysroot.
|
||||
# Recipes may then 'DEPENDS' on this recipe to fetch the toolchain, making the
|
||||
# toolchain available in the staging directory of the depending recipe.
|
||||
|
||||
GCC_ARM_VERSION = "gcc-arm-none-eabi-7-2018-q2-update"
|
||||
LICENSE="GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=f77466c63f5787f4bd669c402aabe061"
|
||||
|
||||
inherit native
|
||||
|
||||
SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/${GCC_ARM_VERSION}-linux.tar.bz2;name=tc32"
|
||||
SRC_URI[tc32.md5sum] = "299ebd3f1c2c90930d28ab82e5d8d6c0"
|
||||
|
||||
S = "${WORKDIR}/${GCC_ARM_VERSION}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${INSTALL_GCC_ARM_NONE_EABI}
|
||||
cp -r ${S}/. ${D}${INSTALL_GCC_ARM_NONE_EABI}
|
||||
}
|
||||
|
||||
FILES_${PN} = "${INSTALL_GCC_ARM_NONE_EABI}/"
|
||||
|
||||
INSANE_SKIP_${PN} = "already-stripped"
|
||||
Reference in New Issue
Block a user