summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-10-14 20:58:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-16 17:41:59 +0100
commitd763b9a7ca550c443e37e36d1f8f7825588a0c55 (patch)
tree8722fbd66950c0104e068be85c1d6b5ed7afe4d2 /meta/recipes-graphics/mesa
parent43e6557190915245d65cb8c8007a864ccf822548 (diff)
downloadpoky-d763b9a7ca550c443e37e36d1f8f7825588a0c55.tar.gz
mesa: Enable svga for x86 only
Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not support it (From OE-Core rev: d7d380a45ab0efedcba33baaae37589da4d25a2b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 282671d30f..4e95911165 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -143,7 +143,9 @@ GALLIUMDRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '',
143 143
144# radeonsi requires LLVM 144# radeonsi requires LLVM
145GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" 145GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
146GALLIUMDRIVERS_LLVM = "r300,svga,nouveau${GALLIUMDRIVERS_RADEONSI}" 146GALLIUMDRIVERS_LLVM = "r300,nouveau${GALLIUMDRIVERS_RADEONSI}"
147GALLIUMDRIVERS_LLVM:append:x86:class-target = ",svga"
148GALLIUMDRIVERS_LLVM:append:x86-64:class-target = ",svga"
147 149
148PACKAGECONFIG[r600] = "" 150PACKAGECONFIG[r600] = ""
149PACKAGECONFIG[virgl] = "" 151PACKAGECONFIG[virgl] = ""