diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-08-10 10:26:26 +0200 |
---|---|---|
committer | Adrian Calianu <adrian.calianu@enea.com> | 2017-08-10 10:26:26 +0200 |
commit | 0a2e89e8668b9f425b9a7d1a1eaf49e9a083ac93 (patch) | |
tree | 0ba979cf46b38ae356ce95b5f89cc4b10c873b24 | |
parent | 1f67cc4f255403abdd64c768f1c5b5d5914c962d (diff) | |
download | meta-enea-bsp-arm-0a2e89e8668b9f425b9a7d1a1eaf49e9a083ac93.tar.gz |
do not force layer to depend on an ARCH specific BSP layer
Since this layer accomodate different BSPs from different
providers is not possible to be depent on all providers layer.
We need to live with some warnings until find a better solution.
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
-rw-r--r-- | README | 18 | ||||
-rw-r--r-- | conf/layer.conf | 2 |
2 files changed, 18 insertions, 2 deletions
@@ -49,15 +49,31 @@ it. | |||
49 | Assuming the enea-bsp-arm layer exists at the top-level of your | 49 | Assuming the enea-bsp-arm layer exists at the top-level of your |
50 | yocto build tree, you can add it to the build system by adding the | 50 | yocto build tree, you can add it to the build system by adding the |
51 | location of the enea-bsp-arm layer to bblayers.conf, along with any | 51 | location of the enea-bsp-arm layer to bblayers.conf, along with any |
52 | other layers needed. e.g.: | 52 | other layers needed. This is dependent on the Yocto machine you |
53 | need to build for: | ||
53 | 54 | ||
55 | ------------------------------------------- | ||
56 | local.conf | ||
57 | MACHINE = "ls1021aiot" | ||
54 | 58 | ||
59 | bblayers.conf | ||
55 | BBLAYERS ?= " \ | 60 | BBLAYERS ?= " \ |
56 | /path/to/yocto/meta \ | 61 | /path/to/yocto/meta \ |
57 | /path/to/yocto/meta-poky \ | 62 | /path/to/yocto/meta-poky \ |
58 | /path/to/yocto/meta-enea-bsp-common \ | 63 | /path/to/yocto/meta-enea-bsp-common \ |
59 | /path/to/yocto/meta-freescale \ | 64 | /path/to/yocto/meta-freescale \ |
60 | " | 65 | " |
66 | ------------------------------------------- | ||
67 | local.conf | ||
68 | MACHINE = "cn8304" | ||
69 | |||
70 | bblayers.conf | ||
71 | BBLAYERS ?= " \ | ||
72 | /path/to/yocto/meta \ | ||
73 | /path/to/yocto/meta-poky \ | ||
74 | /path/to/yocto/meta-enea-bsp-common \ | ||
75 | " | ||
76 | ------------------------------------------- | ||
61 | 77 | ||
62 | II. Misc | 78 | II. Misc |
63 | ======== | 79 | ======== |
diff --git a/conf/layer.conf b/conf/layer.conf index 4a40645..2ae610a 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -9,4 +9,4 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | |||
9 | BBFILE_COLLECTIONS += "enea-bsp-arm" | 9 | BBFILE_COLLECTIONS += "enea-bsp-arm" |
10 | BBFILE_PATTERN_enea-bsp-arm = "^${LAYERDIR}/" | 10 | BBFILE_PATTERN_enea-bsp-arm = "^${LAYERDIR}/" |
11 | BBFILE_PRIORITY_enea-bsp-arm = "6" | 11 | BBFILE_PRIORITY_enea-bsp-arm = "6" |
12 | LAYERDEPENDS_enea-bsp-arm = "enea-bsp-common freescale-layer" | 12 | LAYERDEPENDS_enea-bsp-arm = "enea-bsp-common" |