diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-12-09 16:22:42 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:06 -0600 |
commit | 374cc8f4fb68d467c86de0635941e9af4699ef6e (patch) | |
tree | a6e07bc58847e4cb148a3db8ec8c7e9057f7868e | |
parent | 7e618b7a983d7fb37e29e36777b81c32045bfb89 (diff) | |
download | meta-xilinx-374cc8f4fb68d467c86de0635941e9af4699ef6e.tar.gz |
meta-xilinx-core: layer.conf: Fix yocto-check-layer for xrt/zocl
Prevent xrt/zocl from building when ocl-icd is not the PREFERRED_PROVIDER
for virtual/opencl-icd. This fixes an issue where yocto-check-layer's
use of the world build fails.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-core/conf/layer.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index 4773f93d..41fbb96f 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf | |||
@@ -116,3 +116,6 @@ PLNX_SCRIPTS_PATH = "${LAYERDIR}/gen-machine-conf/gen-machine-scripts" | |||
116 | BB_HASHEXCLUDE_COMMON:append = " PLNX_SCRIPTS_PATH" | 116 | BB_HASHEXCLUDE_COMMON:append = " PLNX_SCRIPTS_PATH" |
117 | 117 | ||
118 | IMAGE_CLASSES += "gen-machine-conf" | 118 | IMAGE_CLASSES += "gen-machine-conf" |
119 | |||
120 | SKIP_RECIPE[xrt] = "${@'' if d.getVar('PREFERRED_PROVIDER_virtual/opencl-icd') == 'ocl-icd' else 'XRT requires REFERRED_PROVIDER_virtual/opencl-icd = "ocl-icd"'}" | ||
121 | SKIP_RECIPE[zocl] = "${@d.getVarFlag('SKIP_RECIPE', 'xrt', d)}" | ||