[meta-intel] [PATCH 1/4] layer.conf: avoid conflicts with sub layers

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Tue Sep 30 19:27:36 PDT 2014


From: Nitin A Kamble <nitin.a.kamble at intel.com>

The layer priority is getting ignored because the same set of files are
visible in the meta-intel layer as well as any of it's sub layers.

The layer pattern for recipe files is changed from "^${LAYERDIR}/" to
"^${LAYERDIR}/common" to stop unintentionally including the sub-layer
recipe files in the meta-intel layer.

Fixes Bug:
[YOCTO #6552]

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index eb5e8da..3b7de9a 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -6,7 +6,7 @@ BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
             ${LAYERDIR}/common/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "intel"
-BBFILE_PATTERN_intel := "^${LAYERDIR}/"
+BBFILE_PATTERN_intel := "^${LAYERDIR}/common/"
 BBFILE_PRIORITY_intel = "5"
 
 # Additional license directories.
-- 
1.8.1.4



More information about the meta-intel mailing list