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' :)

> Signed-off-by: Martin Jansa <[email protected]>
> ---
> 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
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to