[meta-ti] [PATCH 2/6] libdrm: enable omap experimental api support
Denys Dmytriyenko
denys at ti.com
Fri Oct 12 12:11:25 PDT 2012
On Thu, Oct 11, 2012 at 10:07:47AM +0200, Nicolas Dechesne wrote:
> thanks for sending... i have the very same recipe in my local tree ,
> so it's all good timing!
>
>
> On Thu, Oct 11, 2012 at 1:40 AM, Enrico Butera <ebutera at users.berlios.de> wrote:
> > This is needed to build gst-plugin-ducati.
> >
> > Signed-off-by: Enrico Butera <ebutera at users.berlios.de>
> > ---
> > recipes-graphics/drm/libdrm_2.4.39.bbappend | 3 +++
> > 1 file changed, 3 insertions(+)
> > create mode 100644 recipes-graphics/drm/libdrm_2.4.39.bbappend
> >
> > diff --git a/recipes-graphics/drm/libdrm_2.4.39.bbappend b/recipes-graphics/drm/libdrm_2.4.39.bbappend
> > new file mode 100644
> > index 0000000..5842556
> > --- /dev/null
> > +++ b/recipes-graphics/drm/libdrm_2.4.39.bbappend
> > @@ -0,0 +1,3 @@
> > +COMPATIBLE_MACHINE = "pandaboard"
>
> i am not familiar too much with all the features of bitbake... but it
> seems that 'omap4' should be better for the compatibility. our current
> position is to request all OMAP4 boards/customers to use libdrm with
> OMAP experiemental support, that the only config we (TI) actually
> support.
>
> at some point, I would be interested to see libdrm-omap +
> xf-video-omap being used on omap3 too.. but that's outside the scope
> of *this* patch!
>
> and if you want to be proactive, you can add "omap4,omap5", as that's
> what we support on omap5 too.
>
> having 'omap4' means that anyone that is making an omap4 board/machine
> will benefit from your recipe.
Nicolas,
Your understanding is correct. As a matter of fact, we pushed the support for
SOC_FAMILY used in overrides and COMPATIBLE_MACHINE into OE/Bitbake some time
ago, so you can now target the range of platforms based on the same SoC.
You can do things like:
VAR_omap4 = "VAL"
As well as:
COMPATIBLE_MACHINE = "omap4"
Please note, the latter one takes regular expression, so you can do
"omap4|omap5" or even a more weirder "omap[45]". Come to think of it, if
there's a recipe that is common to all OMAPs, you can do "omap?" :)
--
Denys
> > +EXTRA_OECONF += "--enable-omap-experimental-api"
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
More information about the meta-ti
mailing list