mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
Common clang is a thin wrapper library around clang. Common clang has OpenCL-oriented API and is capable to compile OpenCL C kernels to SPIR-V modules. This adds a bbappend to clang recipe from meta-clang to build the necessary components and moves it to dynamic layers so it's built only when clang-layer is included. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
29 lines
865 B
Plaintext
29 lines
865 B
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.
|
|
LICENSE_PATH += "${LAYERDIR}/custom-licenses"
|
|
|
|
LAYERDEPENDS_intel = "core"
|
|
LAYERRECOMMENDS_intel = "dpdk intel-qat"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_intel = "5"
|
|
LAYERSERIES_COMPAT_intel = "thud warrior"
|
|
|
|
BBFILES_DYNAMIC += " \
|
|
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \
|
|
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \
|
|
"
|
|
|
|
require ${LAYERDIR}/conf/include/maintainers.inc
|