Skip to contentSkip to conversation

mesa: Add support for the panfrost PACKAGECONFIG

PATCH New Neil Armstrong 1 participant 1 message Aug 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa: Add support for the panfrost PACKAGECONFIG

Add support to enable the Panfrost Gallium driver in PACKAGECONFIG

---
 meta/recipes-graphics/mesa/mesa.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-graphics/mesa/mesa.inc +3 -0
index fcd19884f5..a7495bfc42 100644
@@ -122,6 +122,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"
 
Signature · 1 line
2.17.1