diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-10-14 20:58:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-16 17:41:59 +0100 |
commit | d763b9a7ca550c443e37e36d1f8f7825588a0c55 (patch) | |
tree | 8722fbd66950c0104e068be85c1d6b5ed7afe4d2 /meta/recipes-graphics | |
parent | 43e6557190915245d65cb8c8007a864ccf822548 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 |
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 |
145 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" | 145 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" |
146 | GALLIUMDRIVERS_LLVM = "r300,svga,nouveau${GALLIUMDRIVERS_RADEONSI}" | 146 | GALLIUMDRIVERS_LLVM = "r300,nouveau${GALLIUMDRIVERS_RADEONSI}" |
147 | GALLIUMDRIVERS_LLVM:append:x86:class-target = ",svga" | ||
148 | GALLIUMDRIVERS_LLVM:append:x86-64:class-target = ",svga" | ||
147 | 149 | ||
148 | PACKAGECONFIG[r600] = "" | 150 | PACKAGECONFIG[r600] = "" |
149 | PACKAGECONFIG[virgl] = "" | 151 | PACKAGECONFIG[virgl] = "" |