By adding the direct path to recipes in common directories we allow
upper layers to further extend the recipes.

Without the patch the extending recipes look like this:

        require common/recipes-foo/bar/baz.inc

With this patch the include can be written like in other layers:

        require recipes-foo/bar/baz.inc

Signed-off-by: Joonas Lahtinen <[email protected]>
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 3b7de9a..234a74a 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -1,5 +1,5 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH .= ":${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}:${LAYERDIR}/common"
 
 # We have recipes-* directories, add to BBFILES
 BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
-- 
2.4.3

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to