summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-09-03 15:45:19 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2020-09-04 00:52:45 (GMT)
commit58ce85f09cf28636a809891b254754c041c987b4 (patch)
tree887ed8ef20281373a8915f7a377672d8850f4563
parent8aac820ed41cca8762c1286f069c9c320c826113 (diff)
downloadmeta-intel-58ce85f09cf28636a809891b254754c041c987b4.tar.gz
intel-compute-runtime: add PACKAGECONFIG for level zero
Add a PACKAGECONFIG that can be enabled when level zero driver is required to be built. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb
index a9af051..b3892a3 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb
+++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_20.33.17675.bb
@@ -35,6 +35,10 @@ EXTRA_OECMAKE = " \
35EXTRA_OECMAKE_append_class-target = " \ 35EXTRA_OECMAKE_append_class-target = " \
36 -Dcloc_cmd_prefix=ocloc \ 36 -Dcloc_cmd_prefix=ocloc \
37 " 37 "
38
39PACKAGECONFIG ??= ""
40PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero"
41
38do_install_append_class-native() { 42do_install_append_class-native() {
39 install -d ${D}${bindir} 43 install -d ${D}${bindir}
40 install ${B}/bin/cpp_generate_tool ${D}${bindir}/ 44 install ${B}/bin/cpp_generate_tool ${D}${bindir}/