| Message ID | 20261116144703.1346131-1-adam.duskett@amarulasolutions.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [v2,1/1] mesa: add libdrm to the gbm PACKAGECONFIG dependencies | expand |
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 64f5de12b4..6ef725c9a7 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -99,7 +99,7 @@ INHIBIT_DEFAULT_RUST_DEPS = "${@bb.utils.contains('PACKAGECONFIG', 'opencl', '', PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" # "gbm" requires "opengl" -PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled" +PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled, libdrm" # "gles" requires "opengl" PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2=disabled"
Mesa requires libdrm whenever GBM is built, but the gbm PACKAGECONFIG doesn't list it, so libdrm is only pulled in indirectly when another option (gallium, vulkan, wayland) happens to depend on it. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> --- v1 -> v2: Reworded meta/recipes-graphics/mesa/mesa.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)