aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ivi/conf/layer.conf')
-rw-r--r--meta-ivi/conf/layer.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-ivi/conf/layer.conf b/meta-ivi/conf/layer.conf
new file mode 100644
index 0000000..346cc0e
--- /dev/null
+++ b/meta-ivi/conf/layer.conf
@@ -0,0 +1,15 @@
+BBPATH ?= ""
+# We add conf directory to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a recipes directory containing .bb and .bbappend files, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "ivi"
+BBFILE_PATTERN_ivi := "^${LAYERDIR}/"
+BBFILE_PRIORITY_ivi = "7"
+
+# Define a similar VARIABLE to COREBASE in order to get a reference to
+# top directory easily
+IVI_COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'