summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-09-06 19:14:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-07 14:30:53 +0100
commitc6c488c259d1f38a05a71e576ca2f32d412413f1 (patch)
treeaad6296be7021a0a3d277da8d947f9215308a389
parent945071cc31280d3bd164478b50e2970b6a42fd02 (diff)
downloadopenembedded-core-contrib-c6c488c259d1f38a05a71e576ca2f32d412413f1.tar.gz
wayland-utils: add libdrm PACKAGECONFIG
wayland-utils has optional libdrm support, so add a PACKAGECONFIG and enable it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb b/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
index dcee87e2cd..48e1409be8 100644
--- a/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
+++ b/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
@@ -19,3 +19,6 @@ UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
inherit meson pkgconfig
DEPENDS += "wayland wayland-native wayland-protocols"
+
+PACKAGECONFIG ??= "drm"
+PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,libdrm"