diff options
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 3 |
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 | |||
128 | PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" | 128 | PACKAGECONFIG[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 |
131 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true,-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools" | 131 | OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}" |
132 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools" | ||
132 | 133 | ||
133 | PACKAGECONFIG[broadcom] = "" | 134 | PACKAGECONFIG[broadcom] = "" |
134 | PACKAGECONFIG[etnaviv] = "" | 135 | PACKAGECONFIG[etnaviv] = "" |