layer.conf: Avoid conflicts with sub-layers

The layer priority is getting ignored because the same set of files
are visible in the meta-intel layer as well as any of its 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@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
This commit is contained in:
Nitin A Kamble 2014-09-26 17:04:57 -07:00 committed by Tom Zanussi
parent 9f815ab761
commit 6702f5a00c

View File

@ -6,7 +6,7 @@ BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
${LAYERDIR}/common/recipes-*/*/*.bbappend" ${LAYERDIR}/common/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "intel" BBFILE_COLLECTIONS += "intel"
BBFILE_PATTERN_intel := "^${LAYERDIR}/" BBFILE_PATTERN_intel := "^${LAYERDIR}/common/"
BBFILE_PRIORITY_intel = "5" BBFILE_PRIORITY_intel = "5"
# Additional license directories. # Additional license directories.