diff options
| author | Yongxin Liu <yongxin.liu@windriver.com> | 2026-02-04 15:11:18 +0800 |
|---|---|---|
| committer | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-02-05 12:19:31 +0530 |
| commit | f1b157912ccebfa5fd625321fd63a1781b586845 (patch) | |
| tree | de30e27861253cced35a403d748adc89a372726c /dynamic-layers/openembedded-layer | |
| parent | 0763124558f0cef94660af2a724f03e2aeca1527 (diff) | |
| download | meta-intel-f1b157912ccebfa5fd625321fd63a1781b586845.tar.gz | |
linux-npu-driver: Set COMPATIBLE_HOST to restrict compatibility to x86_64 hosts
- Added "COMPATIBLE_HOST" to restrict the "linux-npu-driver" recipe
to x86_64 Linux-based build systems.
- Ensured that the recipe is not compatible with systems using musl libc.
This change ensures the recipe builds only on x86_64 hosts with glibc
and avoids issues with musl-based systems.
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer')
| -rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb | 2 |
1 files changed, 2 insertions, 0 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..1be67e01 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 | |||
| @@ -23,6 +23,8 @@ SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" | |||
| 23 | 23 | ||
| 24 | inherit cmake | 24 | inherit cmake |
| 25 | 25 | ||
| 26 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
| 27 | COMPATIBLE_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) |
| 28 | EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release " | 30 | EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release " |
