select BR2_PACKAGE_LIBVA
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBDRM_INTEL
- select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
- select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
- select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBX11
+ select BR2_PACKAGE_XLIB_LIBXEXT
+ select BR2_PACKAGE_XLIB_LIBXFIXES
depends on BR2_i386 || BR2_x86_64
+ depends on BR2_PACKAGE_XORG7 # libdrm intel
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
depends on BR2_LARGEFILE # libdrm
depends on !BR2_PREFER_STATIC_LIB # libva
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_PREFER_STATIC_LIB
depends on BR2_i386 || BR2_x86_64
+
+comment "libva intel driver needs X.org"
+ depends on BR2_i386 || BR2_x86_64
+ depends on !BR2_PACKAGE_XORG7