[meta-ti] [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler

Khem Raj raj.khem at gmail.com
Tue Jul 16 18:27:42 PDT 2019


On Mon, Jul 15, 2019 at 1:01 PM Denys Dmytriyenko <denys at ti.com> wrote:
>
> On Fri, Jul 12, 2019 at 05:59:55PM -0700, Khem Raj wrote:
> > Using clang as default compiler fails to build these
> > since these packages explicitly asks for gcc as compiler
> > this ensures that we meet that demand
> >
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > ---
> >  recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 2 ++
> >  recipes-bsp/u-boot/u-boot-ti.inc            | 3 +++
> >  2 files changed, 5 insertions(+)
> >
> > diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > index 79166ca9..196b11b9 100644
> > --- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > +++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > @@ -26,3 +26,5 @@ do_install() {
> >  FILES_${PN} += "${base_libdir}/firmware"
> >
> >  COMPATIBLE_MACHINE = "(ti-soc)"
> > +TOOLCHAIN = "gcc"
> > +
> > diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
> > index b66a7a6f..36746826 100644
> > --- a/recipes-bsp/u-boot/u-boot-ti.inc
> > +++ b/recipes-bsp/u-boot/u-boot-ti.inc
> > @@ -370,3 +370,6 @@ do_deploy_append_keystone () {
> >               fi
> >       fi
> >  }
> > +
> > +TOOLCHAIN = "gcc"
> > +
>
> Applying: amx3-cm3,u-boot-ti: Pin to gcc compiler
> .git/rebase-apply/patch:15: new blank line at EOF.
> +
> .git/rebase-apply/patch:26: new blank line at EOF.
> +
> warning: 2 lines add whitespace errors.

usually git can squelch those


More information about the meta-ti mailing list