From: Esben Haabendal Date: Wed, 21 Aug 2024 11:42:24 +0000 (+0200) Subject: mesa: Fix build with etnaviv gallium driver X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc6ccd171b1cf5544ef79839fbc94e2c682bfda;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Esben Haabendal Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 973b7621357..20a352b9b75 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 PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native" PACKAGECONFIG[broadcom] = "" -PACKAGECONFIG[etnaviv] = "" +PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" PACKAGECONFIG[freedreno] = "" PACKAGECONFIG[kmsro] = "" PACKAGECONFIG[vc4] = ""