[meta-rockchip] arm-none-eabi toolchain

Submitted by Trevor Woerner on July 20, 2020, 10:34 p.m. | Patch ID: 174574

Details

Message ID 20200720223426.17416-1-twoerner@gmail.com
State New
Headers show

Commit Message

Trevor Woerner July 20, 2020, 10:34 p.m.
We now have a dependency on meta-arm/meta-arm in order to build tf-a (there's
no point carrying our own recipe when there's a common, consolidated one to
use in meta-arm).

meta-arm/meta-arm now has a dependency on meta-arm/meta-arm-toolchain.
meta-arm-toolchain now also has a recipe for arm-none-eabi, so we might as
well use that too, and remove our own version.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 ...cc-arm-none-eabi-native_9-2019-q4-major.bb | 37 -------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb

Patch hide | download patch | download mbox

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
deleted file mode 100644
index a0c832d..0000000
--- a/recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb
+++ /dev/null
@@ -1,37 +0,0 @@ 
-# 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"

Comments

Khem Raj July 20, 2020, 10:50 p.m.
On Mon, Jul 20, 2020 at 3:34 PM Trevor Woerner <twoerner@gmail.com> wrote:
>
> We now have a dependency on meta-arm/meta-arm in order to build tf-a (there's
> no point carrying our own recipe when there's a common, consolidated one to
> use in meta-arm).
>
> meta-arm/meta-arm now has a dependency on meta-arm/meta-arm-toolchain.
> meta-arm-toolchain now also has a recipe for arm-none-eabi, so we might as
> well use that too, and remove our own version.
>

this also means you should add meta-arm-toolchain to layer dependencies.

> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  ...cc-arm-none-eabi-native_9-2019-q4-major.bb | 37 -------------------
>  1 file changed, 37 deletions(-)
>  delete 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
> deleted file mode 100644
> index a0c832d..0000000
> --- a/recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi-native_9-2019-q4-major.bb
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -# 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.26.0.106.g9fadedd637
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50025): https://lists.yoctoproject.org/g/yocto/message/50025
Mute This Topic: https://lists.yoctoproject.org/mt/75693135/3617530
Group Owner: yocto+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-
Trevor Woerner July 20, 2020, 11:06 p.m.
On Mon 2020-07-20 @ 03:50:16 PM, Khem Raj wrote:
> On Mon, Jul 20, 2020 at 3:34 PM Trevor Woerner <twoerner@gmail.com> wrote:
> >
> > We now have a dependency on meta-arm/meta-arm in order to build tf-a (there's
> > no point carrying our own recipe when there's a common, consolidated one to
> > use in meta-arm).
> >
> > meta-arm/meta-arm now has a dependency on meta-arm/meta-arm-toolchain.
> > meta-arm-toolchain now also has a recipe for arm-none-eabi, so we might as
> > well use that too, and remove our own version.
> >
> 
> this also means you should add meta-arm-toolchain to layer dependencies.

Thanks… and I could do a better subject line as well.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50027): https://lists.yoctoproject.org/g/yocto/message/50027
Mute This Topic: https://lists.yoctoproject.org/mt/75693135/3617530
Group Owner: yocto+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-