Add a PACKAGECONFIG that can be enabled when level zero driver
is required to be built.

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../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 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 = " \
 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}/
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6696): 
https://lists.yoctoproject.org/g/meta-intel/message/6696
Mute This Topic: https://lists.yoctoproject.org/mt/76609932/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to