summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
index d2e90e79..1bf7c46a 100644
--- a/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
@@ -21,8 +21,10 @@ SRCREV_lzvext = "61e4aeb00afd2a5b6955986269eed3a713c7b562"
21SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59" 21SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59"
22SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" 22SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest"
23 23
24inherit cmake 24inherit cmake pkgconfig
25 25
26COMPATIBLE_HOST = '(x86_64).*-linux'
27COMPATIBLE_HOST:libc-musl = 'null'
26 28
27# Fix warning _FORTIFY_SOURCE requires compiling with optimization (-O) 29# Fix warning _FORTIFY_SOURCE requires compiling with optimization (-O)
28EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release " 30EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release "
@@ -32,7 +34,7 @@ EXTRA_OECMAKE += " -DCMAKE_INSTALL_FIRMWARE_DIR=${nonarch_base_libdir}"
32EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5" 34EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
33EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'" 35EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'"
34 36
35DEPENDS = "level-zero dpkg-native pkgconfig-native level-zero-native" 37DEPENDS = "level-zero dpkg-native level-zero-native"
36 38
37PACKAGES =+ "${PN}-firmware ${PN}-tests" 39PACKAGES =+ "${PN}-firmware ${PN}-tests"
38 40