[yocto] [PATCH] cgl: Updated the structure for the layers and layers definition

Alexandru.Vaduva Alexandru.Vaduva at enea.com
Fri Feb 13 01:40:11 PST 2015


Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva at enea.com>
---
 meta-cgl-common/conf/layer.conf                                   | 6 +++---
 {meta-fsl-ppc => meta-cgl-fsl-ppc}/conf/layer.conf                | 8 +++++---
 .../recipes-kernel/linux/linux-qoriq_3.12.bbappend                | 0
 3 files changed, 8 insertions(+), 6 deletions(-)
 rename {meta-fsl-ppc => meta-cgl-fsl-ppc}/conf/layer.conf (54%)
 rename {meta-fsl-ppc => meta-cgl-fsl-ppc}/recipes-kernel/linux/linux-qoriq_3.12.bbappend (100%)

diff --git a/meta-cgl-common/conf/layer.conf b/meta-cgl-common/conf/layer.conf
index 6844549..41b2768 100644
--- a/meta-cgl-common/conf/layer.conf
+++ b/meta-cgl-common/conf/layer.conf
@@ -7,6 +7,6 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 	${LAYERDIR}/packagegroups/* \
 	${LAYERDIR}/recipes-*/*/*.bbappend"

-BBFILE_COLLECTIONS += "cgl"
-BBFILE_PATTERN_cgl = "^${LAYERDIR}/"
-BBFILE_PRIORITY_cgl = "7"
+BBFILE_COLLECTIONS += "meta-cgl-common"
+BBFILE_PATTERN_meta-cgl-common = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-cgl-common = "7"
diff --git a/meta-fsl-ppc/conf/layer.conf b/meta-cgl-fsl-ppc/conf/layer.conf
similarity index 54%
rename from meta-fsl-ppc/conf/layer.conf
rename to meta-cgl-fsl-ppc/conf/layer.conf
index 6818475..31eee43 100644
--- a/meta-fsl-ppc/conf/layer.conf
+++ b/meta-cgl-fsl-ppc/conf/layer.conf
@@ -5,6 +5,8 @@ BBPATH .= ":${LAYERDIR}"
 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 	${LAYERDIR}/recipes-*/*/*.bbappend"

-BBFILE_COLLECTIONS += "cgl"
-BBFILE_PATTERN_cgl = "^${LAYERDIR}/"
-BBFILE_PRIORITY_cgl = "7"
+BBFILE_COLLECTIONS += "meta-cgl-fsl-ppc"
+BBFILE_PATTERN_meta-cgl-fsl-ppc = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-cgl-fsl-ppc = "7"
+
+LAYERDEPENDS_crystalforest = "cgl-common"
diff --git a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12.bbappend b/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12.bbappend
similarity index 100%
rename from meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12.bbappend
rename to meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12.bbappend
--
1.9.1




More information about the yocto mailing list