Skip to content

Commit 9537e15

Browse files
Sean Nyekjaerjluebbe
authored andcommitted
Initial base layer files
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
1 parent 3be3daa commit 9537e15

File tree

2 files changed

+95
-0
lines changed

2 files changed

+95
-0
lines changed

README.rst

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
The meta-labgrid layer provides support for integrating the labgrid exporter
2+
into your device.
3+
4+
Please see the corresponding sections below for details.
5+
6+
7+
Dependencies
8+
============
9+
10+
This layer depends on:
11+
12+
URI: git://git.openembedded.org/bitbake
13+
branch: master
14+
15+
URI: git://git.openembedded.org/openembedded-core
16+
layers: meta
17+
branch: master
18+
19+
URI: git://git.yoctoproject.org/meta-oe
20+
layers: meta-python
21+
branch: master
22+
23+
24+
Patches
25+
=======
26+
27+
Please submit patches via GitHub pull request on:
28+
https://github.com/labgrid-project/meta-labgrid
29+
30+
Maintainer: ****
31+
32+
33+
Table of Contents
34+
=================
35+
36+
I. Adding the labgrid layer to your build
37+
II. Building labgrid exporter
38+
III. References
39+
40+
41+
I. Adding the labgrid Layer to Your Build
42+
=========================================
43+
44+
In order to use this layer, you need to make the build system aware of
45+
it.
46+
47+
Assuming the labgrid layer exists at the top-level of your
48+
yocto build tree, you can add it to the build system by adding the
49+
location of the labgrid layer to bblayers.conf, along with any
50+
other layers needed. e.g.:
51+
52+
BBLAYERS ?= " \
53+
/path/to/yocto/meta \
54+
/path/to/yocto/meta-poky \
55+
/path/to/yocto/meta-yocto-bsp \
56+
/path/to/yocto/meta-python \
57+
/path/to/yocto/meta-labgrid \
58+
"
59+
60+
61+
62+
II. Adding the labgrid exporter to Your Device
63+
====================================================
64+
65+
To prepare your device for using the labgrid exporter,
66+
you have to follow at least the following steps:
67+
68+
1. Add the `labgrid` package to your systems image recipe:
69+
70+
IMAGE_INSTALL_append = " python3-labgrid"
71+
72+
2. Build the rootfs for your device
73+
74+
bitbake my-machine-recipe
75+
76+
77+
III. References
78+
==============
79+
80+
[1] Labgrid documentation http://labgrid.readthedocs.io/en/latest/

conf/layer.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# We have a conf and classes directory, add to BBPATH
2+
BBPATH .= ":${LAYERDIR}"
3+
4+
# We have recipes-* directories, add to BBFILES
5+
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6+
${LAYERDIR}/recipes-*/*/*.bbappend"
7+
8+
BBFILE_COLLECTIONS += "labgrid"
9+
BBFILE_PATTERN_labgrid = "^${LAYERDIR}/"
10+
BBFILE_PRIORITY_labgrid = "8"
11+
12+
LAYERDEPENDS_labgrid = "core"
13+
LAYERDEPENDS_labgrid += "meta-python"
14+
15+
LAYERSERIES_COMPAT_labgrid = "sumo rocko thud"

0 commit comments

Comments
 (0)