From b68790713fee4de4fa81762526b941ba76b66866 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Aug 2021 22:56:41 -0700 Subject: [PATCH] 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 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa_21.1.5.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa_21.1.5.bb b/meta/recipes-graphics/mesa/mesa_21.1.5.bb index 3f62990b29..951fe8333b 100644 --- a/meta/recipes-graphics/mesa/mesa_21.1.5.bb +++ b/meta/recipes-graphics/mesa/mesa_21.1.5.bb @@ -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" - -- 2.40.1