diff options
author | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2015-10-20 11:43:23 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2015-10-27 08:07:02 -0700 |
commit | 4a761ccaf17f405807089ce2a4629d44d77d8151 (patch) | |
tree | 511c03ae1df68c4e00524c47fee9d6d622efb5e0 /conf | |
parent | 42cd81d2058e957b0dd223f6017687e134f6c21f (diff) | |
download | meta-intel-4a761ccaf17f405807089ce2a4629d44d77d8151.tar.gz |
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 <joonas.lahtinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | 1 | # We have a conf and classes directory, add to BBPATH |
2 | BBPATH .= ":${LAYERDIR}" | 2 | BBPATH .= ":${LAYERDIR}:${LAYERDIR}/common" |
3 | 3 | ||
4 | # We have recipes-* directories, add to BBFILES | 4 | # We have recipes-* directories, add to BBFILES |
5 | BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \ | 5 | BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \ |