summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-06-07 16:54:19 -0400
committerScott Murray <scott.murray@konsulko.com>2021-06-07 16:54:19 -0400
commitbbb4918e770a536784f8e5573737f0afade4fdb2 (patch)
tree9f44851a99e689dc6a64f60699d14ecd96d4506d
parent193f763742b172b1b8b697a9ee5441406873955d (diff)
meta-agl-drm-lease: Improve usabilitylamprey_11.92.0lamprey/11.92.011.92.0
Changes: - Switch to using AGL_FEATURES instead of just directly modifying IMAGE_INSTALL in the feature template. - Move rcar3 kernel recipe bbappend to a dynamic-layer addition so the layer is usable on other platforms. Bug-AGL: SPEC-3955 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie109cc3606d68d354aae9d902a60ef82272244bf
-rw-r--r--meta-agl-drm-lease/conf/include/agl-drm-lease.inc2
-rw-r--r--meta-agl-drm-lease/conf/layer.conf5
-rw-r--r--meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0001-drm-enable-dumb-buffer-ops-for-render-nodes.patch (renamed from meta-agl-drm-lease/recipes-kernel/linux-renesas/files/0001-drm-enable-dumb-buffer-ops-for-render-nodes.patch)0
-rw-r--r--meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-support-render-node.patch (renamed from meta-agl-drm-lease/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-support-render-node.patch)0
-rw-r--r--meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/linux-renesas_%.bbappend (renamed from meta-agl-drm-lease/recipes-kernel/linux-renesas/linux-renesas_%.bbappend)0
5 files changed, 6 insertions, 1 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
index 5ec51c55..bdf55628 100644
--- a/meta-agl-drm-lease/conf/include/agl-drm-lease.inc
+++ b/meta-agl-drm-lease/conf/include/agl-drm-lease.inc
@@ -1 +1 @@
-IMAGE_INSTALL_append = " drm-lease-manager"
+AGL_FEATURES += "agl-drm-lease"
diff --git a/meta-agl-drm-lease/conf/layer.conf b/meta-agl-drm-lease/conf/layer.conf
index a319a99f..d34d3928 100644
--- a/meta-agl-drm-lease/conf/layer.conf
+++ b/meta-agl-drm-lease/conf/layer.conf
@@ -8,6 +8,11 @@ BBFILE_COLLECTIONS += "agl-drm-lease"
BBFILE_PATTERN_agl-drm-lease = "^${LAYERDIR}/"
BBFILE_PRIORITY_agl-drm-lease = "80"
+BBFILES_DYNAMIC += " \
+ rcar-gen3:${LAYERDIR}/dynamic-layers/meta-rcar-gen3/*/*/*.bb \
+ rcar-gen3:${LAYERDIR}/dynamic-layers/meta-rcar-gen3/*/*/*.bbappend \
+"
+
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_agl-drm-lease = "1"
diff --git a/meta-agl-drm-lease/recipes-kernel/linux-renesas/files/0001-drm-enable-dumb-buffer-ops-for-render-nodes.patch b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0001-drm-enable-dumb-buffer-ops-for-render-nodes.patch
index a9b6bb55..a9b6bb55 100644
--- a/meta-agl-drm-lease/recipes-kernel/linux-renesas/files/0001-drm-enable-dumb-buffer-ops-for-render-nodes.patch
+++ b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0001-drm-enable-dumb-buffer-ops-for-render-nodes.patch
diff --git a/meta-agl-drm-lease/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-support-render-node.patch b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-support-render-node.patch
index 045a63ed..045a63ed 100644
--- a/meta-agl-drm-lease/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-support-render-node.patch
+++ b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/files/0002-drm-rcar-du-support-render-node.patch
diff --git a/meta-agl-drm-lease/recipes-kernel/linux-renesas/linux-renesas_%.bbappend b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/linux-renesas_%.bbappend
index e0a434c3..e0a434c3 100644
--- a/meta-agl-drm-lease/recipes-kernel/linux-renesas/linux-renesas_%.bbappend
+++ b/meta-agl-drm-lease/dynamic-layers/meta-rcar-gen3/recipes-kernel/linux-renesas/linux-renesas_%.bbappend