config BR2_PACKAGE_LIBDRM
	bool "libdrm"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_LARGEFILE
	select BR2_PACKAGE_XPROTO_GLPROTO
	select BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO
	select BR2_PACKAGE_XLIB_LIBXXF86VM
	select BR2_PACKAGE_XLIB_LIBXMU
	select BR2_PACKAGE_XPROTO_DRI2PROTO
	select BR2_PACKAGE_PTHREAD_STUBS
	select BR2_PACKAGE_LIBATOMIC_OPS if BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL
	help
	  Direct Rendering Manager

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

comment "libdrm requires a toolchain with LARGEFILE support"
	depends on BR2_PACKAGE_XORG7 && !BR2_LARGEFILE