summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-04-02 22:46:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-05 15:29:01 +0100
commit559fe1d1e9390fc655ea77980918fce62a7c4a48 (patch)
tree17662834760c493345eee5d925138d1ea377c0aa
parent379ee9803483688839eaa22d1b09aaa8a70d8ffd (diff)
downloadpoky-559fe1d1e9390fc655ea77980918fce62a7c4a48.tar.gz
poky-559fe1d1e9390fc655ea77980918fce62a7c4a48.tar.bz2
poky-559fe1d1e9390fc655ea77980918fce62a7c4a48.zip
mesa: gallium option requires libdrm
Previously it was pulled in via dri option, and there was no configuration where gallium was enabled and dri was not. (From OE-Core rev: 1328556e9c0853babff45bf1bf67643d7ddfdabb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 862e4fa9b8..d7f34739de 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -149,7 +149,7 @@ GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '
GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600', '', d)}"
GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}"
-PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers=''"
+PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm"
PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm${MESA_LLVM_RELEASE} llvm-native \
elfutils"
PACKAGECONFIG[xa] = "-Dgallium-xa=enabled, -Dgallium-xa=disabled"