[meta-freescale] [meta-fsl-arm][PATCH 2/4] xserver-xorg: Add bbappend to include dri and exclude glx for imx6

Andrei Gherzan andrei at gherzan.ro
Mon Jan 14 04:22:59 PST 2013


On Mon, Jan 14, 2013 at 1:53 PM, Otavio Salvador <otavio at ossystems.com.br>wrote:

> On Sun, Jan 13, 2013 at 2:28 PM, Andrei Gherzan
> <andrei.gherzan at windriver.com> wrote:
> > * Split glx PACKAGECONFIG flag in glx and dri. The one from oe-core
> includes
> > configs for dri and glx in the same PACKAGECONFIG[glx].
> > * There is no libgl in imx6 graphic libraries so don't compile xserver
> with glx.
> > * xserver driver for imx6 needs dri.h so compile xserver with dri for
> these
> > machines
> >
> > Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
> > ---
> >  .../xorg-xserver/xserver-xorg_1.13.1.bbappend      |   15
> +++++++++++++++
> >  1 file changed, 15 insertions(+)
> >  create mode 100644
> recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
> >
> > diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
> b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
> > new file mode 100644
> > index 0000000..c8b4a44
> > --- /dev/null
> > +++ b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
> > @@ -0,0 +1,15 @@
> > +PRINC := "${@int(PRINC) + 1}"
> > +
> > +# There are no libgl binaries for imx6 - don't compile with glx
> > +PACKAGECONFIG_imx6qsabrelite := "${@oe_filter_out('glx',
> '${PACKAGECONFIG}', d)}"
> > +PACKAGECONFIG_imx6qsabreauto := "${@oe_filter_out('glx',
> '${PACKAGECONFIG}', d)}"
> > +# dri is needed for xf86-video-imxfb-vivante - xserver driver
> > +PACKAGECONFIG_append_imx6qsabrelite = " dri"
> > +PACKAGECONFIG_append_imx6qsabreauto = " dri"
>
> Use PACKAGECONFIG_mx6 so all mx6 boards handle it same way by default.
>
> > +PACKAGECONFIG[dri] = "--enable-dri, \
> > +                      --disable-dri, \
> > +                      xf86driproto dri2proto"
> > +PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,\
> > +                      --disable-glx,\
> > +                      virtual/libgl"
>
> This part of patch can be included here as an interin solution but it
> should be send to oe-core.
>

Yes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130114/4e5f428b/attachment.html>


More information about the meta-freescale mailing list