meta-intel/conf/layer.conf
Joonas Lahtinen 4a761ccaf1 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>
2015-10-27 08:07:02 -07:00

18 lines
586 B
Plaintext

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}:${LAYERDIR}/common"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
${LAYERDIR}/common/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "intel"
BBFILE_PATTERN_intel := "^${LAYERDIR}/common/"
BBFILE_PRIORITY_intel = "5"
# Additional license directories.
LICENSE_PATH += "${LAYERDIR}/common/custom-licenses"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_intel = "3"