All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] amx3-cm3: Use COMPATIBLE_MACHINE instead of COMPATIBLE_HOST
@ 2019-07-13  0:59 Khem Raj
  2019-07-13  0:59 ` [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2019-07-13  0:59 UTC (permalink / raw)
  To: meta-ti

This represents it correctly in package arch as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
index b9a3b0fa..79166ca9 100644
--- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
+++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
@@ -24,5 +24,5 @@ do_install() {
 }
 
 FILES_${PN} += "${base_libdir}/firmware"
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+
+COMPATIBLE_MACHINE = "(ti-soc)"
-- 
2.22.0



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

* [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler
  2019-07-13  0:59 [PATCH 1/2] amx3-cm3: Use COMPATIBLE_MACHINE instead of COMPATIBLE_HOST Khem Raj
@ 2019-07-13  0:59 ` Khem Raj
  2019-07-15 20:01   ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2019-07-13  0:59 UTC (permalink / raw)
  To: meta-ti

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@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"
+
-- 
2.22.0



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

* Re: [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler
  2019-07-13  0:59 ` [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler Khem Raj
@ 2019-07-15 20:01   ` Denys Dmytriyenko
  2019-07-17  1:27     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2019-07-15 20:01 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-ti

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


> -- 
> 2.22.0
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

* Re: [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler
  2019-07-15 20:01   ` Denys Dmytriyenko
@ 2019-07-17  1:27     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2019-07-17  1:27 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

On Mon, Jul 15, 2019 at 1:01 PM Denys Dmytriyenko <denys@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@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


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

end of thread, other threads:[~2019-07-17  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13  0:59 [PATCH 1/2] amx3-cm3: Use COMPATIBLE_MACHINE instead of COMPATIBLE_HOST Khem Raj
2019-07-13  0:59 ` [PATCH 2/2] amx3-cm3,u-boot-ti: Pin to gcc compiler Khem Raj
2019-07-15 20:01   ` Denys Dmytriyenko
2019-07-17  1:27     ` Khem Raj

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.