[Buildroot] [git commit branch/2023.11.x] package/onevpl: fix libdrm dependency

Peter Korsgaard peter at korsgaard.com
Sat Feb 3 10:48:17 UTC 2024


commit: https://git.buildroot.net/buildroot/commit/?id=710935ea5f988ed36d0184cd0eb3fcfa695a0995
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.11.x

Buildroot commit c50e9c21f0444b064bc257fcc0d3073fee945623 initially
added the package onevpl and forgot to add all dependencies of
BR2_PACKAGE_LIBDRM_INTEL.

Fixes:
http://autobuild.buildroot.org/results/8fa/8fa0f2cd7a027d3d8fae56125621b0b814e132da/

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/onevpl/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/onevpl/Config.in b/package/onevpl/Config.in
index a750e54d52..cd5b284531 100644
--- a/package/onevpl/Config.in
+++ b/package/onevpl/Config.in
@@ -12,7 +12,9 @@ config BR2_PACKAGE_ONEVPL
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
 	# libva support needs a libdrm with intel driver
-	select BR2_PACKAGE_LIBDRM_INTEL if BR2_PACKAGE_LIBVA
+	select BR2_PACKAGE_LIBDRM_INTEL if BR2_PACKAGE_LIBVA && \
+		(BR2_i386 || BR2_x86_64) && \
+		BR2_PACKAGE_LIBDRM_HAS_ATOMIC
 	select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
 	help



More information about the buildroot mailing list