summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-10-01 19:10:07 -0700
committerAndrei Gherzan <andrei@gherzan.com>2018-10-02 14:14:54 +0100
commit0b10f248d0f3b9f1acbf07551f24ac99e9b489a7 (patch)
tree3ba6f9f553f88067b45583ab10ae7fb2040fea06
parent4f3a81e1653cbcc87afec8c2ab86593135f75711 (diff)
downloadmeta-raspberrypi-0b10f248d0f3b9f1acbf07551f24ac99e9b489a7.tar.gz
mesa: Build swrast gallium driver along with vc4
when running -ctestimage target, it fails because of errors it finds in Xorg logs | Log: /mnt/a/yoe/build/tmp/work/raspberrypi3-yoe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log | ----------------------- | Central error: [ 14.760] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory) Therefore we enable swrast gallium drivers to make xorg happy Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 52fe757..8152cc3 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -3,5 +3,5 @@
3# as default. To state out clearly that Raspi needs dri3 and to avoid surprises 3# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
4# in case oe-core changes this default, we set dri3 explicitly. 4# in case oe-core changes this default, we set dri3 explicitly.
5PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}" 5PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
6GALLIUMDRIVERS_rpi = "vc4" 6GALLIUMDRIVERS_append_rpi = ",vc4"
7DRIDRIVERS_rpi = "" 7DRIDRIVERS_rpi = ""