summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/conf/layer.conf')
-rw-r--r--meta-phosphor/conf/layer.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/conf/layer.conf b/meta-phosphor/conf/layer.conf
new file mode 100644
index 0000000000..ffccec0138
--- /dev/null
+++ b/meta-phosphor/conf/layer.conf
@@ -0,0 +1,13 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
+ ${LAYERDIR}/common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "obmc-phosphor"
+BBFILE_PATTERN_obmc-phosphor = "^${LAYERDIR}/"
+LAYERVERSION_obmc-phosphor = "1"
+
+# Provide a variable that points the base of the phosphor layer.
+PHOSPHORBASE = '${@os.path.normpath("${LAYERDIR}/")}'