summaryrefslogtreecommitdiff
path: root/meta-lenovo/conf/layer.conf
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-06-19 01:34:17 +0300
committerEd Tanous <ed.tanous@intel.com>2019-06-19 01:34:17 +0300
commitaea9e7cbf9bd7677228747a8e7bab4d22bc80103 (patch)
tree94f59c0b6566fbd9c459918177ceb49e53128aa7 /meta-lenovo/conf/layer.conf
parent10bc2ef852277cf8e9858f75cea9f55b482bf85b (diff)
parentf3b2f5e9e3e0fe093d5ab1e3dcdede0aa3000450 (diff)
downloadopenbmc-aea9e7cbf9bd7677228747a8e7bab4d22bc80103.tar.xz
Merge branch 'master' of ssh://github.com/openbmc/openbmc into intel
Diffstat (limited to 'meta-lenovo/conf/layer.conf')
-rw-r--r--meta-lenovo/conf/layer.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-lenovo/conf/layer.conf b/meta-lenovo/conf/layer.conf
new file mode 100644
index 000000000..30d2bbc8e
--- /dev/null
+++ b/meta-lenovo/conf/layer.conf
@@ -0,0 +1,18 @@
+#"Copyright ? 2019-present Lenovo
+#Licensed under BSD-3, see COPYING.BSD file for details."
+
+
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/meta-common/recipes-*/*/*.bb \
+ ${LAYERDIR}/meta-common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "lenovo-layer"
+BBFILE_PATTERN_lenovo-layer = ""
+LAYERVERSION_lenovo-layer = "1"
+LAYERSERIES_COMPAT_lenovo-layer = "thud warrior"
+
+# Provide a variable that points the base of the lenovo layer.
+LENOVOBASE = '${@os.path.normpath("${LAYERDIR}/")}'