From 58ce85f09cf28636a809891b254754c041c987b4 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Thu, 3 Sep 2020 23:45:19 +0800 Subject: 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 --- .../compute-runtime/intel-compute-runtime_20.33.17675.bb | 4 ++++ 1 file changed, 4 insertions(+) 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 a9af0518..b3892a3b 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 = " \ EXTRA_OECMAKE_append_class-target = " \ -Dcloc_cmd_prefix=ocloc \ " + +PACKAGECONFIG ??= "" +PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" + do_install_append_class-native() { install -d ${D}${bindir} install ${B}/bin/cpp_generate_tool ${D}${bindir}/ -- cgit v1.2.3-54-g00ecf