summaryrefslogtreecommitdiff
path: root/package/libdrm/Config.in
blob: f3dab9a2c2e4506820082a08629a76e8dc8c5ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
	# libatomic_ops is only available on a subset of the supported
	# architectures, and we make the assumption that the intel
	# driver can only be used on x86 and x86_64 machines.
	select BR2_PACKAGE_LIBATOMIC_OPS if (BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL && (BR2_i386 || BR2_x86_64))
	help
	  Direct Rendering Manager

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

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