From 4a761ccaf17f405807089ce2a4629d44d77d8151 Mon Sep 17 00:00:00 2001 From: Joonas Lahtinen Date: Tue, 20 Oct 2015 11:43:23 +0300 Subject: conf: Add a direct path to common recipes 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 Signed-off-by: Saul Wold --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index f419fe63..d8e5000d 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 \ -- cgit v1.2.3-54-g00ecf