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>
This commit is contained in:
Joonas Lahtinen 2015-10-20 11:43:23 +03:00 committed by Saul Wold
parent 42cd81d205
commit 4a761ccaf1

View File

@ -1,5 +1,5 @@
# We have a conf and classes directory, add to BBPATH # We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}" BBPATH .= ":${LAYERDIR}:${LAYERDIR}/common"
# We have recipes-* directories, add to BBFILES # We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \ BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \