All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-rockchip] arm-none-eabi toolchain
@ 2020-07-20 22:34 Trevor Woerner
  2020-07-20 22:50 ` [yocto] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Trevor Woerner @ 2020-07-20 22:34 UTC (permalink / raw)
  To: yocto

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

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [yocto] [PATCH][meta-rockchip] arm-none-eabi toolchain
  2020-07-20 22:34 [PATCH][meta-rockchip] arm-none-eabi toolchain Trevor Woerner
@ 2020-07-20 22:50 ` Khem Raj
  2020-07-20 23:06   ` Trevor Woerner
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-07-20 22:50 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto

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
>
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] [PATCH][meta-rockchip] arm-none-eabi toolchain
  2020-07-20 22:50 ` [yocto] " Khem Raj
@ 2020-07-20 23:06   ` Trevor Woerner
  0 siblings, 0 replies; 3+ messages in thread
From: Trevor Woerner @ 2020-07-20 23:06 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-20 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-20 22:34 [PATCH][meta-rockchip] arm-none-eabi toolchain Trevor Woerner
2020-07-20 22:50 ` [yocto] " Khem Raj
2020-07-20 23:06   ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.