package/wpebackend-fdo: package needs wayland libegl
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Mon, 15 Apr 2019 09:16:32 +0000 (11:16 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 16 May 2019 07:15:48 +0000 (09:15 +0200)
commit5b3c7a3e7828107eaa9dad49ba2650466277d891
tree2a1d2b96ad13aea3aac89cbd6eb0391b081b8787
parent2adc578dfdde35d5869a1ecabf403ea5dc4bbdbf
package/wpebackend-fdo: package needs wayland libegl

Now wpebackend-fdo depends only on HAS_LIBEGL but if libegl is not of
wayland type, build breaks due to different EGLNativeWindowType types
depending on backends(fb,x11,wl).

Modify:
'depend on BR2_PACKAGE_HAS_LIBEGL'
to:
'depend on BR2_PACKAGE_HAS_LIBEGL_WAYLAND'
in Config.in to avoid building if there is not a wayland egl backend.
Modify also comment in Config.in when package is not selectable
mentioning the need to have an OpenEGL-capable Wayland backend.

Fixes:
http://autobuild.buildroot.net/results/4f02b91f6ffffd194e09ed18c917b4f678b1a52d/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/wpebackend-fdo/Config.in