aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/conf
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-01-08 17:03:00 +0900
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-03-05 15:21:40 +0900
commit92d67bf9c0385ce2513bf7bf0001f27223d750fd (patch)
tree851f601867ad0eaa9e65223ab835665b3529ee82 /meta-agl-drm-lease/conf
parent3eb1a00c35bd817472067a153c793c9c7aef00a3 (diff)
Add agl-drm-lease feature
The agl-drm-lease feature will add the DRM lease manager and client library to the current image. DRM lease support is also added to the kmscube test utility if it is installed. Bug-AGL: SPEC-3729 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I75cfbc363724916202ec15bb71813f49d6b560eb
Diffstat (limited to 'meta-agl-drm-lease/conf')
-rw-r--r--meta-agl-drm-lease/conf/include/agl-drm-lease.inc1
-rw-r--r--meta-agl-drm-lease/conf/layer.conf16
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-agl-drm-lease/conf/include/agl-drm-lease.inc b/meta-agl-drm-lease/conf/include/agl-drm-lease.inc
new file mode 100644
index 00000000..5ec51c55
--- /dev/null
+++ b/meta-agl-drm-lease/conf/include/agl-drm-lease.inc
@@ -0,0 +1 @@
+IMAGE_INSTALL_append = " drm-lease-manager"
diff --git a/meta-agl-drm-lease/conf/layer.conf b/meta-agl-drm-lease/conf/layer.conf
new file mode 100644
index 00000000..9c6d3726
--- /dev/null
+++ b/meta-agl-drm-lease/conf/layer.conf
@@ -0,0 +1,16 @@
+# 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 += "agl-drm-lease"
+BBFILE_PATTERN_agl-drm-lease = "^${LAYERDIR}/"
+BBFILE_PRIORITY_agl-drm-lease = "10"
+
+# This should only be incremented on significant changes that will
+# cause compatibility issues with other layers
+LAYERVERSION_agl-drm-lease = "1"
+
+LAYERDEPENDS_agl-drm-lease = "core"
+LAYERSERIES_COMPAT_agl-drm-lease = "dunfell"