diff options
| author | Esben Haabendal <esben@geanix.com> | 2024-08-21 13:42:24 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-23 09:12:37 +0100 |
| commit | 54706243e272ecac430023734bc6012e09b47ba4 (patch) | |
| tree | 3160efc88f92139db908d37793d3c3cf4cd037ad /meta/recipes-graphics/mesa | |
| parent | 94fb673dcfdc632460a843f949d2d13c242e5182 (diff) | |
| download | poky-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.inc | 2 |
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 | |||
| 149 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native" | 149 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native" |
| 150 | 150 | ||
| 151 | PACKAGECONFIG[broadcom] = "" | 151 | PACKAGECONFIG[broadcom] = "" |
| 152 | PACKAGECONFIG[etnaviv] = "" | 152 | PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" |
| 153 | PACKAGECONFIG[freedreno] = "" | 153 | PACKAGECONFIG[freedreno] = "" |
| 154 | PACKAGECONFIG[kmsro] = "" | 154 | PACKAGECONFIG[kmsro] = "" |
| 155 | PACKAGECONFIG[vc4] = "" | 155 | PACKAGECONFIG[vc4] = "" |
