[OE-core] [PATCH 2/2] mesa-dri: move extra DRIMODULES to EXTRA_DRIMODULES

Martin Jansa martin.jansa at gmail.com
Sat Oct 15 10:40:28 UTC 2011


On Sat, Oct 15, 2011 at 12:29:52PM +0200, Koen Kooi wrote:
> 
> Op 15 okt. 2011, om 12:24 heeft Martin Jansa het volgende geschreven:
> 
> > * this way we can use
> >  EXTRA_DRIMODULES_armv4t += ",glamo" in meta-openmoko layer and
> >  EXTRA_DRIMODULES_armv4t += ",foo" in meta-bar layer without knowledge
> >  of other modules in other layers in stack
> 
> The above talks about 'MODULES', the actual patch about 'DRIVERS' :)

thanks for catching this.. I had it in meta-openmoko layer too :/

send new version simplified a bit more as nobody wants to disable swrast
and extra trailing ',' seems to be ignored fine

> 
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> > meta/recipes-graphics/mesa/mesa-dri.inc |    6 ++++--
> > 1 files changed, 4 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
> > index 795144a..4557bf8 100644
> > --- a/meta/recipes-graphics/mesa/mesa-dri.inc
> > +++ b/meta/recipes-graphics/mesa/mesa-dri.inc
> > @@ -4,9 +4,11 @@ LIB_DEPS += "libdrm expat"
> > # most of our targets do not have DRI so will use mesa-xlib
> > DEFAULT_PREFERENCE = "-1"
> > 
> > +EXTRA_DRIDRIVERS = ""
> > +EXTRA_DRIDRIVERS_x86 = ",i915,i965"
> > +EXTRA_DRIDRIVERS_x86-64 = ",i915,i965"
> > DRIDRIVERS = "swrast"
> > -DRIDRIVERS_x86 = "swrast,i915,i965"
> > -DRIDRIVERS_x86-64 = "swrast,i915,i965"
> > +DRIDRIVERS += "${EXTRA_DRIDRIVERS}"
> > 
> > EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
> > 
> > -- 
> > 1.7.7
> > 
> > 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111015/87001af7/attachment-0002.sig>


More information about the Openembedded-core mailing list