aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/conf/layer.conf')
-rw-r--r--meta-perl/conf/layer.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-perl/conf/layer.conf b/meta-perl/conf/layer.conf
new file mode 100644
index 000000000..09ed0e572
--- /dev/null
+++ b/meta-perl/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "perl-layer"
+BBFILE_PATTERN_perl-layer := "^${LAYERDIR}/"
+BBFILE_PRIORITY_perl-layer = "6"