summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2022-08-30 22:25:02 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-01 10:07:02 +0100
commitb16ecb48f6d7b5c8f1806841212f43ec96b58ee8 (patch)
tree81b872d7f63b3d90803c4759f7b7db2fe6f90f9d /meta/recipes-graphics/mesa/mesa.inc
parenta1bdef5c4b61bcfe8db56a286a04eece82f0cedb (diff)
downloadpoky-b16ecb48f6d7b5c8f1806841212f43ec96b58ee8.tar.gz
mesa: build clover with native LLVM codegen support for freedreno
(From OE-Core rev: fbd9d6643ff0b345fa0e3b369eabc0efefeac5e3) Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-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] = ""