]> code.ossystems Code Review - openembedded-core.git/commit
mesa-gl: Allow mesa-gl to build without X11 enabled.
authorMark Hatle <mark.hatle@kernel.crashing.org>
Thu, 26 Mar 2020 02:15:58 +0000 (21:15 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Mar 2020 11:33:24 +0000 (12:33 +0100)
commitcd6bab044288779a67b94353ff91935f59bfcb56
treec8488b33a3d2e96184d1f4cd0713a6581b8cac0b
parent91f464177ed7ed59a4405a39a366b387338ae923
mesa-gl: Allow mesa-gl to build without X11 enabled.

Trying to build mesa-gl without X11 enabled, results in numerous errors
about being incorrectly configured, such as:

  ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa

A rendering engine must be available, so per the error we enable osmesa
if X11 is not available.  Once 'osmesa' is enabled we also need to make
sure that swrast for DRI is also available.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa-gl_20.0.2.bb