]> code.ossystems Code Review - meta-freescale.git/commit
waffle: Add missing dependency on EGL
authorTom Hochstein <tom.hochstein@nxp.com>
Thu, 23 Apr 2020 13:38:34 +0000 (08:38 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 24 Apr 2020 12:27:46 +0000 (09:27 -0300)
commiteea3e3bbe0870b46363884402c97b4f1b187a6f9
treed5cb2a22169532afdc7cc715eb28b41272960793
parentf43fa899d28e1950543a05a2c903a530d7b006f2
waffle: Add missing dependency on EGL

For Wayland builds without XWayland support, the following
build break was happening:

In file included from /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/egl.h:39,
                 from ../waffle-1.6.0/src/waffle/egl/wegl_context.h:31,
                 from ../waffle-1.6.0/src/waffle/egl/wegl_util.c:28:
/home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144:10: fatal error: X11/Xlib.h: No such file or directory
  144 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
compilation terminated.

This happens because the egl.pc configuration is missing.

Fix the mising dependency.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/waffle/waffle/0001-meson-Add-missing-wayland-dependency-on-EGL.patch [new file with mode: 0644]
recipes-graphics/waffle/waffle_%.bbappend