[OE-core] [PATCH 11/24] mesa-gl: do not enable nativesdk variant to avoid clashes with main mesa recipe

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jan 28 17:25:35 UTC 2019


On Mon, 2019-01-28 at 13:46 +0100, Alexander Kanavin wrote:
> An alternative would be setting PREFERRED_PROVIDER, but for
> native/nativesdk
> builds mesa-gl is not a viable alternative to mesa, as it lacks all
> of the
> bits that make accelerated qemu possible. Using PREFERRED_PROVIDER
> would
> imply otherwise.
> 
> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
>  meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb
> b/meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb
> index 73267eb4f0d..030db6c1440 100644
> --- a/meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb
> +++ b/meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb
> @@ -7,3 +7,5 @@ PROVIDES = "virtual/libgl virtual/mesa"
>  S = "${WORKDIR}/mesa-${PV}"
>  
>  PACKAGECONFIG ??= "opengl dri ${@bb.utils.filter('DISTRO_FEATURES',
> 'x11', d)}"
> +
> +BBCLASSEXTEND_remove = "nativesdk"

I really hate using remove in OE-Core. Lets find a different way to do
this please as if we do this, its nearly impossible to undo in another
layer...

Cheers,

Richard



More information about the Openembedded-core mailing list