|
@@ -128,7 +128,8 @@ PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2
|
|
|
PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled"
|
|
|
|
|
|
# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core
|
|
|
-PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true,-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"
|
|
|
+OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}"
|
|
|
+PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"
|
|
|
|
|
|
PACKAGECONFIG[broadcom] = ""
|
|
|
PACKAGECONFIG[etnaviv] = ""
|