summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorEsben Haabendal <esben@geanix.com>2024-08-21 13:42:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-23 09:12:37 +0100
commit54706243e272ecac430023734bc6012e09b47ba4 (patch)
tree3160efc88f92139db908d37793d3c3cf4cd037ad /meta/recipes-graphics/mesa
parent94fb673dcfdc632460a843f949d2d13c242e5182 (diff)
downloadpoky-54706243e272ecac430023734bc6012e09b47ba4.tar.gz
mesa: Fix build with etnaviv gallium driver
As of mesa version 24.1.0, the etnaviv gallium driver requires the Python pycparser module when building. Without it, build fails with something like: ../mesa-24.1.4/src/etnaviv/hwdb/meson.build:17:2: ERROR: Problem encountered: Python (3.x) pycparser module >= 2.20 required to build mesa. (From OE-Core rev: bfc6ccd171b1cf5544ef79839fbc94e2c682bfda) Signed-off-by: Esben Haabendal <esben@geanix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 973b762135..20a352b9b7 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -149,7 +149,7 @@ OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-na
149PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native" 149PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native"
150 150
151PACKAGECONFIG[broadcom] = "" 151PACKAGECONFIG[broadcom] = ""
152PACKAGECONFIG[etnaviv] = "" 152PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native"
153PACKAGECONFIG[freedreno] = "" 153PACKAGECONFIG[freedreno] = ""
154PACKAGECONFIG[kmsro] = "" 154PACKAGECONFIG[kmsro] = ""
155PACKAGECONFIG[vc4] = "" 155PACKAGECONFIG[vc4] = ""