Preface
The meta-tqmx86 layer extends the Yocto Project's reference system Poky to provide support for all TQ x86-Modules including the MOD_NAME.
Dependencies
This layer depends on a number of base layers, which are listed in the following. The Yocto versions “gatesgarth” and “hardknott” are supported at this time. The correct branch matching the Yocto version must be checked out for each layer.
Prerequisites
Build Host
Yocto Project / Poky requires a Linux build host, so first of all you need a development workstation (or a virtual machine1)) with a Linux distribution installed.
Please refer to section Compatible Linux Distribution of the Yocto Project Quick Start for supported linux distributions and section Build Host Packages for required build host packages for those distributions.
Although not required by Yocto Project / Poky, we also recommend to configure and run a tftp server (for image download / update) and an nfs server (for network mounted root filesystem) on your development host.
Yocto Build instructions
1. Create Workspace Folder
$ mkdir workspace $ cd workspace
2. clone both the meta-intel and our meta-tqmx86 repository and checkout the branch you want to use. In this example we use POKY_BRANCH:
$ git clone https://github.com/tq-systems/meta-tqmx86.git $ cd meta-tqmx86 $ git checkout <label poky_branch>POKY_BRANCH</label> $ cd .. $ git clone https://git.yoctoproject.org/git/meta-intel $ cd meta-intel $ git checkout <label poky_branch>POKY_BRANCH</label>
3. clone the official poky repository and checkout the branch you want to use:
$ cd .. $ git clone git://git.yoctoproject.org/poky $ cd poky $ git checkout <label poky_branch>POKY_BRANCH</label>
4. initialize the buildspace using the oe-init-build-env script. This script creates a build folder and enters it directly:
$ . oe-init-build-env
5. In order to use the meta-tqmx86 and meta-intel layer you need to make the build system aware of it. open the file bblayers.conf with your favorite editor to add the layers:
nano conf/bblayers.conf
The file should look similar to the following after the adjustment: