]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa: gallium option requires libdrm
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 2 Apr 2021 20:46:26 +0000 (22:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Apr 2021 14:27:24 +0000 (15:27 +0100)
Previously it was pulled in via dri option, and there was
no configuration where gallium was enabled and dri was not.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa.inc

index 862e4fa9b827574b077a5df7511ba342e8ff7fd3..d7f34739de05acc9fea3b3b437f3f26ff5c6dcda 100644 (file)
@@ -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"