[meta-ti] [PATCH 2/5] recips: Mark more recipes to be ti-soc specific

Denys Dmytriyenko denys at ti.com
Wed Oct 17 15:30:08 PDT 2018


On Wed, Oct 17, 2018 at 03:21:35PM -0700, Khem Raj wrote:
> On Wed, Oct 17, 2018 at 1:11 PM Denys Dmytriyenko <denys at ti.com> wrote:
> 
> > On Wed, Oct 17, 2018 at 12:28:50PM -0700, Khem Raj wrote:
> > > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > > ---
> > >  recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 3 +++
> > >  recipes-bsp/cmem/cmem.inc                   | 2 ++
> > >  recipes-ti/devtools/ti-xdctools-common.inc  | 5 +++++
> > >  recipes-ti/osal/ti-osal.inc                 | 4 ++++
> > >  4 files changed, 14 insertions(+)
> > >
> > > diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > > index 93cebd71..e1f21054 100644
> > > --- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > > +++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > > @@ -24,3 +24,6 @@ do_install() {
> > >  }
> > >
> > >  FILES_${PN} += "${base_libdir}/firmware"
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti33x = "(.*)"
> >
> > This is incorrect - it's not limited to ti33x soc, but multiple socs with
> > Cortex-M3 used for PM...
> 
> 
> Ok tell me which ones and we can add compatible host statements may be
> ti-soc is right if it is on all socs

There are few socs in Cortex-A8 and Cortex-A9 Sitara families, amongh others, 
which use it.
I made it ti-soc for now, which is a safe bet - see my re-submit of your 3 
patches.


> > I noticed bunch of "new blank line at EOF" from git, so I'm cleaning it up
> > and
> > while at it, I'll squash these 2 similar patches...
> >
> >
> > > diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
> > > index 11cebe8d..abbf2492 100644
> > > --- a/recipes-bsp/cmem/cmem.inc
> > > +++ b/recipes-bsp/cmem/cmem.inc
> > > @@ -12,3 +12,5 @@ PV = "4.15.00.02+git${SRCPV}"
> > >  SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}
> > <http://git.ti.com/ipc/ludev.git;protocol=git;branch=$%7BBRANCH%7D>"
> > >
> > >  S = "${WORKDIR}/git"
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > > diff --git a/recipes-ti/devtools/ti-xdctools-common.inc
> > b/recipes-ti/devtools/ti-xdctools-common.inc
> > > index a3949cad..0e86ef7a 100644
> > > --- a/recipes-ti/devtools/ti-xdctools-common.inc
> > > +++ b/recipes-ti/devtools/ti-xdctools-common.inc
> > > @@ -61,3 +61,8 @@ libhpi.so \
> > >  lib.so \
> > >  libcairo.so.2 \
> > >  "
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > > +COMPATIBLE_HOST_class-native = "(.*)"
> > > +COMPATIBLE_HOST_class-nativesdk = "(.*)"
> > > +
> > > diff --git a/recipes-ti/osal/ti-osal.inc b/recipes-ti/osal/ti-osal.inc
> > > index cb8da354..bbbdf517 100644
> > > --- a/recipes-ti/osal/ti-osal.inc
> > > +++ b/recipes-ti/osal/ti-osal.inc
> > > @@ -19,3 +19,7 @@ INSANE_SKIP_${PN}-dev = "staticdev"
> > >
> > >  ALLOW_EMPTY_${PN} = "1"
> > >  FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
> > > +
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > > +
> > > --
> > > 2.19.1
> > >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti at yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
> >


More information about the meta-ti mailing list