WPE Webkit

WebKit is a cross-platform web browser engine.

Description

This is a quick step by step guide for building wpe-webkit with yocto. It takes a few shortcuts here and there and is meant to serve as an example of how yocto can be used for a specific piece of software.

Preparation

As of August 29 2018 30GB of disk space were used by the build tree and all source files. So this is the minimum of free space to go with! There are also quite a few build dependencies required such as a c compiler, and several tools. Yocto will list those requirements in the build step when they are missing. It is advised to use a dedicated folder for working on this, especially to clone all the repositories to!

Download

git clone --branch master git://git.openembedded.org/bitbake git clone --branch sumo git://git.openembedded.org/openembedded-core git clone --branch sumo git://git.yoctoproject.org/meta-freescale git clone --branch sumo https://github.com/SolidRun/meta-solidrun-arm-imx6.git git clone --branch sumo git://git.yoctoproject.org/poky git clone --branch sumo https://github.com/Freescale/meta-freescale-distro.git git clone --branch master https://github.com/Igalia/meta-webkit.git

 

This list refers to a fork of meta-solidrun-arm-imx6 adding support for the sumo release. Double-Check if upstream meta-solidrun-arm-imx6 has meanwhile added a sumo branch!

Configure

create build directory in current folder

source ./openembedded-core/oe-init-build-env

List all required meta layers in conf/bblayers.conf:

BBLAYERS ?= " \ /opt/workspace/SolidRun/yocto/openembedded-core/meta \ /opt/workspace/SolidRun/yocto/meta-freescale \ /opt/workspace/SolidRun/yocto/meta-solidrun-arm-imx6 \ /opt/workspace/SolidRun/yocto/poky/meta-poky \ /opt/workspace/SolidRun/yocto/meta-freescale-distro \ /opt/workspace/SolidRun/yocto/meta-webkit \ "

Select target machine and features in conf/local.conf (by appending at the end):

Build

Deploy

Run

From a terminal, or the serial console:

References

SolidRun Ltd.