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

wenzong.fan at windriver.com wenzong.fan at windriver.com
Mon Mar 11 01:04:58 PDT 2013


Add LAYERVERSION and LAYERDEPENDS to following yocto layers:

    meta-yocto, meta-yocto-bsp

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

diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf
index 49fb135..f34d7f4 100644
--- a/meta-yocto-bsp/conf/layer.conf
+++ b/meta-yocto-bsp/conf/layer.conf
@@ -9,3 +9,8 @@ BBFILE_COLLECTIONS += "yoctobsp"
 BBFILE_PATTERN_yoctobsp := "^${LAYERDIR}/"
 BBFILE_PRIORITY_yoctobsp = "5"
 
+# This should only be incremented on significant changes that will
+# cause compatibility issues with other layers
+LAYERVERSION_yoctobsp = "1"
+
+LAYERDEPENDS_yoctobsp = "core"
diff --git a/meta-yocto/conf/layer.conf b/meta-yocto/conf/layer.conf
index 7917962..331ca18 100644
--- a/meta-yocto/conf/layer.conf
+++ b/meta-yocto/conf/layer.conf
@@ -9,3 +9,8 @@ BBFILE_COLLECTIONS += "yocto"
 BBFILE_PATTERN_yocto := "^${LAYERDIR}/"
 BBFILE_PRIORITY_yocto = "5"
 
+# This should only be incremented on significant changes that will
+# cause compatibility issues with other layers
+LAYERVERSION_yocto = "1"
+
+LAYERDEPENDS_yocto = "core"
-- 
1.7.10.4




More information about the poky mailing list