From: Neil Armstrong Date: Fri, 30 Aug 2019 08:53:41 +0000 (+0200) Subject: mesa: Add support for the panfrost PACKAGECONFIG X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13434 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1685af76eb5d504e085a6e15fb16b902b89d857b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: Add support for the panfrost PACKAGECONFIG Add support to enable the Panfrost Gallium driver in PACKAGECONFIG Signed-off-by: Neil Armstrong Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 8040d78992b..f916e553c93 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -125,6 +125,9 @@ PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false" PACKAGECONFIG[lima] = "" GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" +PACKAGECONFIG[panfrost] = "" +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" + OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}" PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none"