wpewebkit: make sure the webkit can only be built for graphical images

The WebKit is not supported on framebuffer images yet. While at it, set
wpebackend-fdo as the default WPE backend.

https://jira.digi.com/browse/DEL-7311
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2020-12-09 16:49:58 +01:00
parent 3a3ca20ec2
commit 590b824967
2 changed files with 9 additions and 0 deletions

View File

@ -70,6 +70,9 @@ PREFERRED_VERSION_libsoc = "git"
# recipe in case there are NXP-specific changes in it
PREFERRED_PROVIDER_opencl-headers ?= "imx-gpu-viv"
# Use the FDO backend for WPE WebKit
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}/${MACHINE}"

View File

@ -3,3 +3,9 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI_append_ccimx8x = " file://0001-Use-imxvideoconvert_g2d-plugin-in-gstreamer-pipeline.patch"
# We can't build the WebKit with fb images, so force wayland as a required
# distro feature.
inherit distro_features_check
REQUIRED_DISTRO_FEATURES = "wayland"