[Buildroot] [git commit] package/onevpl-intel-gpu: add missing dependency on BR2_x86_64

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Dec 24 16:16:19 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=120f961fc6d4a8902487f17a13646be60f6f7ce1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

BR2_PACKAGE_ONEVPL_INTEL_GPU selects BR2_PACKAGE_INTEL_MEDIADRIVER,
but it forgets to replicate all its dependencies, in particular
BR2_x86_64, causing:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_INTEL_MEDIADRIVER
  Depends on [n]: BR2_x86_64 [=n] && !BR2_STATIC_LIBS [=n] && BR2_INSTALL_LIBSTDCPP [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_8 [=y] && BR2_TOOLCHAIN_HAS_SYNC_1 [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_TOOLCHAIN_HAS_THREADS_NPTL [=y]
  Selected by [y]:
  - BR2_PACKAGE_ONEVPL_INTEL_GPU [=y] && BR2_PACKAGE_ONEVPL_ARCH_SUPPORTS [=y] && BR2_INSTALL_LIBSTDCPP [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_GCC_AT_LEAST_7 [=y] && BR2_TOOLCHAIN_HAS_SYNC_1 [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_TOOLCHAIN_HAS_THREADS_NPTL [=y]

Fixes: ac65841defece904e91afe1fb51419084c993dba ("package/onevpl-intel-gpu: new package")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/onevpl-intel-gpu/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/onevpl-intel-gpu/Config.in b/package/onevpl-intel-gpu/Config.in
index 11a1c60a0f..b1ab6624e5 100644
--- a/package/onevpl-intel-gpu/Config.in
+++ b/package/onevpl-intel-gpu/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ONEVPL_INTEL_GPU
 	bool "onevpl-intel-gpu"
+	depends on BR2_x86_64 # intel-mediadriver
 	depends on BR2_PACKAGE_ONEVPL_ARCH_SUPPORTS # onevpl
 	depends on BR2_INSTALL_LIBSTDCPP # onevpl
 	depends on !BR2_STATIC_LIBS # onevpl
@@ -17,6 +18,7 @@ config BR2_PACKAGE_ONEVPL_INTEL_GPU
 	  https://github.com/oneapi-src/oneVPL-intel-gpu
 
 comment "onevpl-intel-gpu needs a toolchain w/ dynamic library, gcc >= 7, C++, NPTL"
+	depends on BR2_x86_64
 	depends on BR2_PACKAGE_ONEVPL_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_SYNC_1
 	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \



More information about the buildroot mailing list