Patchwork [1/1] layer.conf: Add LAYERVERSION and LAYERDEPENDS

login
register
mail settings
Submitter wenzong.fan@windriver.com
Date March 11, 2013, 8:06 a.m.
Message ID <1362989162-9619-2-git-send-email-wenzong.fan@windriver.com>
Download mbox | patch
Permalink /patch/45863/
State Accepted
Commit 8d868a9b64b460aa38462115bbb17634544c71cc
Headers show

Comments

wenzong.fan@windriver.com - March 11, 2013, 8:06 a.m.
Add LAYERVERSION and LAYERDEPENDS to following oe-core layers:

    meta-hob, meta-skeleton

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

Patch

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"