diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2023-07-24 16:32:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-27 21:07:53 +0100 |
commit | 8e4a74ed98b196f51fa808f285576a4956952ddc (patch) | |
tree | dee47f5a65c806f488a246f2233cfbb03319f8ea /meta/recipes-graphics/mesa | |
parent | 78074419277786348dfb32b46f803b142f8982ec (diff) | |
download | poky-8e4a74ed98b196f51fa808f285576a4956952ddc.tar.gz |
mesa: simplify overriding GALLIUMDRIVERS_LLVM
Embedded devices might want to extend and/or override the
GALLIUMDRIVERS_LLVM variable (to change the set of gallium drivers
enabled for the particular device). Simplify this task by making the
GALLIUMDRIVERS_LLVM variable follow the rest of mesa.inc variables and
contain the leading comma.
(From OE-Core rev: fac5aa9503c2c6579b0389f8c304b9a914b940c8)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
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.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 928899008e..ade097d7cc 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -163,7 +163,7 @@ GALLIUMDRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', ' | |||
163 | 163 | ||
164 | # radeonsi requires LLVM | 164 | # radeonsi requires LLVM |
165 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" | 165 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" |
166 | GALLIUMDRIVERS_LLVM = "r300,nouveau${GALLIUMDRIVERS_RADEONSI}" | 166 | GALLIUMDRIVERS_LLVM = ",r300,nouveau${GALLIUMDRIVERS_RADEONSI}" |
167 | GALLIUMDRIVERS_LLVM:append:x86 = ",svga" | 167 | GALLIUMDRIVERS_LLVM:append:x86 = ",svga" |
168 | GALLIUMDRIVERS_LLVM:append:x86-64 = ",svga" | 168 | GALLIUMDRIVERS_LLVM:append:x86-64 = ",svga" |
169 | # i686 is a 32 bit override for mesa-native | 169 | # i686 is a 32 bit override for mesa-native |
@@ -172,7 +172,7 @@ GALLIUMDRIVERS_LLVM:append:i686 = ",svga" | |||
172 | PACKAGECONFIG[r600] = "" | 172 | PACKAGECONFIG[r600] = "" |
173 | PACKAGECONFIG[virgl] = "" | 173 | PACKAGECONFIG[virgl] = "" |
174 | 174 | ||
175 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}" | 175 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${GALLIUMDRIVERS_LLVM}', '', d)}" |
176 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600', '', d)}" | 176 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600', '', d)}" |
177 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}" | 177 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}" |
178 | 178 | ||