mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2026-01-27 10:21:22 +01:00
This allows using a different OpenCL backend (like intel-compute-runtime-legacy1 from meta-clang-revival), or multiple ones, so the same image can support different platforms. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have recipes-* directories, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "intel"
|
|
BBFILE_PATTERN_intel := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_intel = "5"
|
|
|
|
# Additional license directories.
|
|
CUSTOM_LICENSES_PATH = "${LAYERDIR}/custom-licenses"
|
|
LICENSE_PATH += "${CUSTOM_LICENSES_PATH}"
|
|
|
|
LAYERDEPENDS_intel = "core"
|
|
LAYERRECOMMENDS_intel = "dpdk"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_intel = "5"
|
|
LAYERSERIES_COMPAT_intel = "whinlatter"
|
|
|
|
BBFILES_DYNAMIC += " \
|
|
clang-revival-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \
|
|
clang-revival-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \
|
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
|
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
|
|
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
|
|
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bbappend \
|
|
"
|
|
|
|
require ${LAYERDIR}/conf/include/maintainers.inc
|
|
|
|
# Use the libva from OE-Core when layer is included but no MACHINE
|
|
# from meta-intel is being used.
|
|
PREFERRED_PROVIDER_libva ?= "libva"
|
|
PREFERRED_PROVIDER_libva-native ?= "libva-native"
|
|
PREFERRED_PROVIDER_nativesdk-libva ?= "nativesdk-libva"
|
|
|
|
PREFERRED_PROVIDER_libva-utils ?= "libva-utils"
|
|
PREFERRED_PROVIDER_libva-utils-native ?= "libva-utils-native"
|
|
PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils"
|
|
|
|
OPENCL_BACKENDS ??= "intel-compute-runtime"
|
|
|
|
addpylib ${LAYERDIR}/lib oeqa
|