summaryrefslogtreecommitdiffstats
path: root/meta-raspberrypi/recipes-graphics/wayland/wayland_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/recipes-graphics/wayland/wayland_%.bbappend')
-rw-r--r--meta-raspberrypi/recipes-graphics/wayland/wayland_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-raspberrypi/recipes-graphics/wayland/wayland_%.bbappend b/meta-raspberrypi/recipes-graphics/wayland/wayland_%.bbappend
new file mode 100644
index 000000000..e5bbf4aaa
--- /dev/null
+++ b/meta-raspberrypi/recipes-graphics/wayland/wayland_%.bbappend
@@ -0,0 +1,7 @@
+# until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics
+do_install_append_rpi () {
+ if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then
+ rm -f ${D}${libdir}/libwayland-egl*
+ rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
+ fi
+}
OpenPOWER on IntegriCloud