config BR2_PACKAGE_LIBDRM
	bool "libdrm"
	select BR2_PACKAGE_LIBPTHREAD_STUBS
	depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
	depends on BR2_LARGEFILE
	help
	  Direct Rendering Manager

	  http://dri.freedesktop.org/libdrm/

if BR2_PACKAGE_LIBDRM

menu "DRM Drivers"

config BR2_PACKAGE_LIBDRM_INTEL
	bool "intel"
	depends on BR2_PACKAGE_XORG7
	select BR2_PACKAGE_LIBATOMIC_OPS
	select BR2_PACKAGE_XLIB_LIBPCIACCESS
	depends on BR2_i386 || BR2_x86_64
	help
	  installs intel graphics driver

comment "libdrm intel driver depends on X.org"
	depends on !BR2_PACKAGE_XORG7

config BR2_PACKAGE_LIBDRM_RADEON
	bool "radeon"
	help
	  install AMD/ATI graphics driver

config BR2_PACKAGE_LIBDRM_NOUVEAU
	bool "nouveau"
	depends on BR2_i386 || BR2_x86_64
	help
	  install Nvidia graphics driver

config BR2_PACKAGE_LIBDRM_VMWGFX
	bool "vmwgfx"
	depends on BR2_i386 || BR2_x86_64
	help
	  installs Vmware graphics driver

config BR2_PACKAGE_LIBDRM_OMAP
	bool "omap (experimental)"
	depends on BR2_arm
	help
	  install the TI OMAP driver using an experimental API.

config BR2_PACKAGE_LIBDRM_EXYNOS
	bool "exynos (experimental)"
	depends on BR2_arm
	help
	  installs Samsung Exynos driver using an experimental API.

config BR2_PACKAGE_LIBDRM_FREEDRENO
	bool "freedreno (experimental)"
	depends on BR2_arm
	help
	  install Qualcomm Snapdragon driver using an experimental API.

endmenu

endif

comment "libdrm needs a toolchain w/ largefile, threads"
	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
