summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-02 22:56:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 10:38:00 +0100
commitb68790713fee4de4fa81762526b941ba76b66866 (patch)
treebc51ef5f179589aeda5c6a1103202312b613e401 /meta/recipes-graphics
parent895574c2df6701c0a6ffe84bce05b63180377eb8 (diff)
downloadopenembedded-core-b68790713fee4de4fa81762526b941ba76b66866.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa_21.1.5.bb3
1 files changed, 1 insertions, 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"
-