[oe-commits] [openembedded-core] 30/47: mesa: Avoid platform probing when building without EGL

git at git.openembedded.org git at git.openembedded.org
Thu Jul 6 13:39:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 49c3dad38134857b31152bf76ebf2cd78c8a53c8
Author: Otavio Salvador <otavio at ossystems.com.br>
AuthorDate: Mon Jul 3 17:02:09 2017 -0300

    mesa: Avoid platform probing when building without EGL
    
    The 17.1.2 release has changed the platform setting and when not
    explicitly disabled it assumes x11 support.
    
    Fixes:
    
    | checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no
    | configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:
    |
    | No package 'x11-xcb' found
    | No package 'xcb' found
    | No package 'xcb-dri2' found
    | No package 'xcb-xfixes' found
    |
    | Consider adjusting the PKG_CONFIG_PATH environment variable if you
    | installed software in a non-standard prefix.
    |
    | Alternatively, you may set the environment variables XCB_DRI2_CFLAGS
    | and XCB_DRI2_LIBS to avoid the need to call pkg-config.
    | See the pkg-config man page for more details.
    
    The issue has been exposed by meta-freescale BSP. Fix tested with
    imx6qsabresd machine.
    
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 41747cf..a12ab7a 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -49,7 +49,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
 EGL_PLATFORMS  = "drm"
 EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'x11', ',x11', '', d)}"
 EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}"
-PACKAGECONFIG[egl] = "--enable-egl --with-platforms=${EGL_PLATFORMS}, --disable-egl"
+PACKAGECONFIG[egl] = "--enable-egl --with-platforms=${EGL_PLATFORMS}, --disable-egl --with-platforms=''"
 
 PACKAGECONFIG[etnaviv] = ""
 PACKAGECONFIG[imx] = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list