aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/conf/layer.conf')
-rw-r--r--meta-oe/conf/layer.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
new file mode 100644
index 0000000000..9fa60c1c49
--- /dev/null
+++ b/meta-oe/conf/layer.conf
@@ -0,0 +1,9 @@
+# We have a conf and classes directory, prepend to BBPATH to prefer our versions
+BBPATH := "${LAYERDIR}:${BBPATH}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "openembedded-layer"
+BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/"
+BBFILE_PRIORITY_openembedded-layer = "6"