summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 8754ccabf3..ea7ed4fd27 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -128,7 +128,8 @@ PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2
128PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" 128PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled"
129 129
130# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core 130# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core
131PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true,-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools" 131OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}"
132PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"
132 133
133PACKAGECONFIG[broadcom] = "" 134PACKAGECONFIG[broadcom] = ""
134PACKAGECONFIG[etnaviv] = "" 135PACKAGECONFIG[etnaviv] = ""