On Thu, Jan 23, 2020 at 8:08 AM Joshua Watt <[email protected]> wrote: > > Adds a recipe to pull down the prebuilt GCC for compiling on Cortex-R > and Cortex-M processors from ARM. This toolchain is required to build > Arm Trusted Firmware for the Rockchip rk3399 SoC, since it must compile > some firmware for the M0 coprocessor. >
can this use mutliconfig ? This seems then can be avoided > Signed-off-by: Joshua Watt <[email protected]> > --- > ...cc-arm-none-eabi-native_9-2019-q4-major.bb | 37 +++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 > recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb > > diff --git > a/recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb > > b/recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb > new file mode 100644 > index 0000000..a0c832d > --- /dev/null > +++ > b/recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb > @@ -0,0 +1,37 @@ > +# Copyright (C) 2019 Garmin Ltd. or its subsidaries > +# Released under the MIT license (see COPYING.MIT for the terms) > + > +DESCRIPTION = "Baremetal GCC for ARM-R and ARM-M processors" > +LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" > + > +LIC_FILES_CHKSUM = > "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634b740b7b95f2c2159af888f5" > + > +PROVIDES = "virtual/arm-none-eabi-gcc" > + > +SRC_URI = > "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/${BPN}-${PV}-x86_64-linux.tar.bz2" > + > +SRC_URI[md5sum] = "fe0029de4f4ec43cf7008944e34ff8cc" > +SRC_URI[sha256sum] = > "bcd840f839d5bf49279638e9f67890b2ef3a7c9c7a9b25271e83ec4ff41d177a" > + > +S = "${WORKDIR}/${BPN}-${PV}" > + > +inherit native > + > +COMPATIBLE_HOST = "x86_64.*-linux" > + > +do_install() { > + install -d ${D}${datadir}/arm-none-eabi/ > + cp -r ${S}/. ${D}${datadir}/arm-none-eabi/ > + > + install -d ${D}${bindir} > + # Symlink all executables into bindir > + for f in ${D}${datadir}/arm-none-eabi/bin/arm-none-eabi-*; do > + lnr $f ${D}${bindir}/$(basename $f) > + done > +} > + > +INSANE_SKIP_${PN} = "already-stripped" > + > +INHIBIT_SYSROOT_STRIP = "1" > +INHIBIT_PACKAGE_STRIP = "1" > +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" > -- > 2.24.1 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48119): https://lists.yoctoproject.org/g/yocto/message/48119 Mute This Topic: https://lists.yoctoproject.org/mt/70050326/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
