diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-03-03 14:28:34 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-03-08 16:15:31 +0000 |
commit | be2f69556bc35885454bb51b7fbc1b188b9e7e27 (patch) | |
tree | 858c981256b78e6eba42746f371d46e9c852d0e7 /meta-agl-distro/conf/layer.conf | |
parent | 3cfe59d1d10874fee11ee84f290406dd30a673bd (diff) |
Splice out distro configuration in own layer for compatibility
Upstream is working on guidelines for DISTRO and BSP layers.
One outcome is the yocto-compat-layer tool.
A requirement for BSP and DISTRO layers is that they are single-purpose
aka just defining the distro and only defining the BSP.
To comply with this, move the distro out into meta-agl-distro and adapt the templates.
Bug-AGL: SPEC-472
Change-Id: I921127edc78e677bd75d42a793f0b3708a54dd79
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-distro/conf/layer.conf')
-rw-r--r-- | meta-agl-distro/conf/layer.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-agl-distro/conf/layer.conf b/meta-agl-distro/conf/layer.conf new file mode 100644 index 000000000..74527516a --- /dev/null +++ b/meta-agl-distro/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH =. "${LAYERDIR}:" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "agl-distro" +BBFILE_PATTERN_agl-distro = "^${LAYERDIR}/" +BBFILE_PRIORITY_agl-distro = "8" |