Manifests are provided to build under various versions of Open Embedded. The host system should meet the requirements for the corresponding Open Embedded release. The recommended manifest ofw-2009-oe31.xml builds under OE 3.1 (Dunfell), for which the host system requirements are documented in the Yocto Project Reference Manual.
Additionally, the host should have the Google "repo" tool installed. The older repo-1 branch is currently recommended.
Both Python 2 and Python 3 should be installed and /usr/bin/python should run Python 2.
The alternative manifests ofw-2009-oe22.xml and ofw-2009-oe30.xml are provided as a reference and to support a transition from older hosts. Both OE 2.2 and OE 3.0 may be built using Ubuntu 14.04, whereas OE 3.1 requires Ubuntu 16.04 or 18.04.
Each manifest contains its own specific setup and build instructions. For example, to build using OE 3.1:
repo init --repo-branch=repo-1 -u https://github.com/lgirdk/manifests-ofw.git -m ofw-2009-oe31.xml
repo sync --no-clone-bundle
MACHINE="exm-qemuarm" source ./meta-mng/setup-environment
bitbake mng-image-rdkb
The default and recommended build configuration uses gcc and glibc. Alternative configurations may be chosen by selecting an alternative machine configuration.
For example, to build with gcc and musl libc:
repo init --repo-branch=repo-1 -u https://github.com/lgirdk/manifests-ofw.git -m ofw-2009-oe31.xml
repo sync --no-clone-bundle
MACHINE="exm-qemuarm-musl" source ./meta-mng/setup-environment
bitbake mng-image-rdkb
To build with clang and glibc:
repo init --repo-branch=repo-1 -u https://github.com/lgirdk/manifests-ofw.git -m ofw-2009-oe31.xml
repo sync --no-clone-bundle
MACHINE="exm-qemuarm-clang" source ./meta-mng/setup-environment
bitbake mng-image-rdkb