From: Alistair Francis Date: Tue, 25 Jun 2019 06:10:01 +0000 (+0000) Subject: mesa: Add support for the lima PACKAGECONFIG X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~14051 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8649c5e36969da061b39db4536d127128382fe15;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: Add support for the lima PACKAGECONFIG Signed-off-by: Alistair Francis Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 3ecfb8506c0..5bbd13bca2d 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -113,6 +113,9 @@ PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true, -Dllvm=false, llv export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}" PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false" +PACKAGECONFIG[lima] = "" +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" + OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}" PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none"