[OE-core] [PATCH 1/1] layer.conf: Add LAYERVERSION and LAYERDEPENDS

wenzong.fan at windriver.com wenzong.fan at windriver.com
Mon Mar 11 08:06:02 UTC 2013


Add LAYERVERSION and LAYERDEPENDS to following oe-core layers:

    meta-hob, meta-skeleton

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 meta-hob/conf/layer.conf      |    6 ++++++
 meta-skeleton/conf/layer.conf |    5 +++++
 2 files changed, 11 insertions(+)

diff --git a/meta-hob/conf/layer.conf b/meta-hob/conf/layer.conf
index 5f5eb82..ea977e2 100644
--- a/meta-hob/conf/layer.conf
+++ b/meta-hob/conf/layer.conf
@@ -7,3 +7,9 @@ BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"
 BBFILE_COLLECTIONS += "hob"
 BBFILE_PATTERN_hob := "^${LAYERDIR}/"
 BBFILE_PRIORITY_hob = "1"
+
+# This should only be incremented on significant changes that will
+# cause compatibility issues with other layers
+LAYERVERSION_hob = "1"
+
+LAYERDEPENDS_hob = "core"
diff --git a/meta-skeleton/conf/layer.conf b/meta-skeleton/conf/layer.conf
index edb31dd..4cf4767 100644
--- a/meta-skeleton/conf/layer.conf
+++ b/meta-skeleton/conf/layer.conf
@@ -8,3 +8,8 @@ BBFILE_COLLECTIONS += "skeleton"
 BBFILE_PATTERN_skeleton := "^${LAYERDIR}/"
 BBFILE_PRIORITY_skeleton = "1"
 
+# This should only be incremented on significant changes that will
+# cause compatibility issues with other layers
+LAYERVERSION_skeleton = "1"
+
+LAYERDEPENDS_skeleton = "core"
-- 
1.7.10.4





More information about the Openembedded-core mailing list