summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/meta-rvgpu/recipes-graphics/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'meta-uhmi/meta-rvgpu/recipes-graphics/wayland')
-rw-r--r--meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_%.bbappend1
-rw-r--r--meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc7
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_%.bbappend b/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_%.bbappend
new file mode 100644
index 00000000..133a34e3
--- /dev/null
+++ b/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agl-rvgpu-proxy', 'weston_rvgpuproxy.inc', '', d)}
diff --git a/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc b/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc
new file mode 100644
index 00000000..5b7536df
--- /dev/null
+++ b/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc
@@ -0,0 +1,7 @@
+# Remove the RPATH variable, to be able to use LD_LIBRARY_PATH,
+# to run render apps using /usr/lib/mesa-virtio
+do_install:append() {
+ chrpath --delete ${D}${libdir}/libweston-10/*.so
+ chrpath --delete ${D}${libdir}/weston/*.so
+ chrpath --delete ${D}${libdir}/*.so
+}