Skip to contentSkip to conversation

mesa: Define a fallback for DRIDRIVERS

PATCH New Khem Raj 1 participant 1 message Aug 3, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 mesa: Define a fallback for DRIDRIVERS

Some machines may not define this variable, in such cases bitbake fails to parse

run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution

---
 meta/recipes-graphics/mesa/mesa_21.1.5.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa_21.1.5.bb +1 -2
index 3f62990b29..951fe8333b 100644
@@ -1,5 +1,4 @@
 require ${BPN}.inc
-
+DRIDRIVERS ??= ""
 DRIDRIVERS:append:x86:class-target = ",r100,r200,nouveau,i965"
 DRIDRIVERS:append:x86-64:class-target = ",r100,r200,nouveau,i965"
-
Signature · 1 line
2.32.0