[meta-ti] [PATCH 2/6] libdrm: enable omap experimental api support
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
> 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.
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". Come to think of it, if
there's a recipe that is common to all OMAPs, you can do "omap?" :)
> > +EXTRA_OECONF += "--enable-omap-experimental-api"
> > --
> > 126.96.36.199
> > _______________________________________________
> > 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
More information about the meta-ti