]> code.ossystems Code Review - meta-freescale.git/commitdiff
xserver-xorg: Disable glamor for i.MX 8 21/head
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 23 Oct 2018 15:55:46 +0000 (10:55 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Mon, 5 Nov 2018 23:22:56 +0000 (17:22 -0600)
Like i.MX 6 and 7, need to disable glamor for i.MX 8 to avoid a build break:

In file included from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:179,
                 from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl_generated.h:11,
                 from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl.h:46,
                 from ../../xorg-server-1.20.1/glamor/glamor_priv.h:43,
                 from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25:
/home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglvivante.h:267:1: error: conflicting types for 'fbCreateWindow'
 fbCreateWindow(
 ^~~~~~~~~~~~~~
In file included from ../../xorg-server-1.20.1/glamor/glamor.h:36,
                 from ../../xorg-server-1.20.1/glamor/glamor_priv.h:32,
                 from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25:
../../xorg-server-1.20.1/fb/fb.h:1115:2: note: previous declaration of 'fbCreateWindow' was here
  fbCreateWindow(WindowPtr pWin);
  ^~~~~~~~~~~~~~

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend

index c26bb20d2cafc7840f7ef7474f29494755396f4a..e3c59040269acbe92f1e4a6303a54f9cf848f24c 100644 (file)
@@ -2,3 +2,4 @@ IMX_OPENGL_PKGCONFIGS_REMOVE        = ""
 IMX_OPENGL_PKGCONFIGS_REMOVE_imxgpu = "glamor"
 OPENGL_PKGCONFIGS_remove_mx6        = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
 OPENGL_PKGCONFIGS_remove_mx7        = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
+OPENGL_PKGCONFIGS_remove_mx8        = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"