summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-graphics/piglit/piglit_%.bbappend13
1 files changed, 12 insertions, 1 deletions
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend
index 56671a326..0646860a4 100644
--- a/recipes-graphics/piglit/piglit_%.bbappend
+++ b/recipes-graphics/piglit/piglit_%.bbappend
@@ -8,6 +8,11 @@
8FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 8FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
9 9
10# General build fixes (cl test include dirs, GCC memory-flag error). 10# General build fixes (cl test include dirs, GCC memory-flag error).
11#
12# Deliberately unscoped and NOT suppressed: this really does patch piglit on
13# every machine, so the finding is correct. Scoping it would break non-i.MX
14# builds that currently succeed only because these fix genuine upstream
15# errors. The real fix is to send both patches to openembedded-core.
11SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch \ 16SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch \
12 file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" 17 file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch"
13 18
@@ -17,7 +22,13 @@ PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}"
17# nooelint: oelint.vars.noncoreoverride 22# nooelint: oelint.vars.noncoreoverride
18PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" 23PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
19 24
20PACKAGECONFIG_APPEND ?= "\ 25# The gbm/vulkan default is scoped to imx-generic-bsp. Unscoped it applied to
26# every machine in the build, which pulled virtual/libgbm, glslang-native and
27# vulkan-loader into piglit's DEPENDS and flipped PIGLIT_BUILD_VK_TESTS on for
28# machines this layer does not own. The mx6/mx7 clears below still win over
29# this because their overrides come later in OVERRIDES.
30PACKAGECONFIG_APPEND ?= ""
31PACKAGECONFIG_APPEND:imx-generic-bsp ?= "\
21 gbm \ 32 gbm \
22 ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" 33 ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}"
23PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl" 34PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl"