The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mesa3d / Config.in
1 menuconfig BR2_PACKAGE_MESA3D
2         bool "mesa3d"
3         select BR2_PACKAGE_LIBDRM
4         select BR2_PACKAGE_EXPAT
5         select BR2_PACKAGE_XPROTO_DRI2PROTO if BR2_PACKAGE_XORG7
6         select BR2_PACKAGE_XPROTO_XF86DRIPROTO if BR2_PACKAGE_XORG7
7         select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
8         select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
9         select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
10         select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
11         select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7
12         depends on BR2_PACKAGE_HAS_UDEV
13         depends on BR2_INSTALL_LIBSTDCPP
14         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
15         help
16           Mesa 3D, an open-source implementation of the OpenGL specification.
17
18           http://mesa3d.org
19
20 if BR2_PACKAGE_MESA3D
21
22 # inform the .mk file of gallium or dri driver selection
23 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
24         select BR2_PACKAGE_MESA3D_DRIVER
25         bool
26
27 config BR2_PACKAGE_MESA3D_DRI_DRIVER
28         select BR2_PACKAGE_MESA3D_DRIVER
29         select BR2_PACKAGE_HAS_LIBGL
30         bool
31
32 config BR2_PACKAGE_PROVIDES_LIBGL
33         default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER
34
35 config BR2_PACKAGE_MESA3D_DRIVER
36         bool
37
38 config BR2_PACKAGE_MESA3D_NEEDS_XA
39         bool
40
41 comment "Gallium drivers"
42
43 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
44         bool "Gallium nouveau driver"
45         depends on BR2_i386 || BR2_x86_64
46         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
47         select BR2_PACKAGE_LIBDRM_NOUVEAU
48         select BR2_PACKAGE_MESA3D_NEEDS_XA
49         help
50           Supports all Nvidia GPUs.
51
52 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
53         bool "Gallium Radeon R600 driver"
54         depends on BR2_i386 || BR2_x86_64
55         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
56         select BR2_PACKAGE_LIBDRM_RADEON
57         select BR2_PACKAGE_MESA3D_NEEDS_XA
58         help
59           Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
60
61 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
62         bool "Gallium vmware svga driver"
63         depends on BR2_i386 || BR2_x86_64
64         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
65         select BR2_PACKAGE_LIBDRM_VMWGFX
66         select BR2_PACKAGE_MESA3D_NEEDS_XA
67         help
68           This is a virtual GPU driver for VMWare virtual machines.
69
70 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
71         bool "Gallium swrast driver"
72         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
73         help
74           This is a software opengl implementation using the Gallium3D
75           infrastructure.
76
77 comment "DRI drivers needs X.Org and a toolchain w/ dynamic library"
78         depends on BR2_STATIC_LIBS || !BR2_PACKAGE_XORG7
79
80 if !BR2_STATIC_LIBS && BR2_PACKAGE_XORG7
81
82 comment "DRI drivers"
83
84 config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
85         bool "DRI swrast driver"
86         select BR2_PACKAGE_MESA3D_DRI_DRIVER
87         help
88           This is a software opengl implementation using the DRI
89           infrastructure.
90
91 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
92         bool "DRI i915 driver"
93         depends on BR2_i386 || BR2_x86_64
94         select BR2_PACKAGE_MESA3D_DRI_DRIVER
95         select BR2_PACKAGE_LIBDRM_INTEL
96         help
97           Support for i915-based Intel GPUs.
98
99 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
100         bool "DRI i965 driver"
101         depends on BR2_i386 || BR2_x86_64
102         select BR2_PACKAGE_MESA3D_DRI_DRIVER
103         select BR2_PACKAGE_LIBDRM_INTEL
104         help
105           Support for i965-based Intel GPUs.
106
107 config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
108         bool "DRI radeon driver"
109         depends on BR2_i386 || BR2_x86_64
110         select BR2_PACKAGE_MESA3D_DRI_DRIVER
111         select BR2_PACKAGE_LIBDRM_RADEON
112         help
113           Legacy Radeon driver for R100 series GPUs.
114
115 endif # !BR2_STATIC_LIBS && BR2_PACKAGE_XORG7
116
117 if BR2_PACKAGE_MESA3D_DRIVER
118
119 comment "Additional API Support"
120
121 comment "OpenGL EGL needs udev /dev management"
122         depends on !BR2_PACKAGE_HAS_UDEV
123
124 config BR2_PACKAGE_MESA3D_OPENGL_EGL
125         bool "OpenGL EGL"
126         depends on BR2_PACKAGE_HAS_UDEV
127         select BR2_PACKAGE_HAS_LIBEGL
128         help
129           Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications
130           similar to GLX, for X, and WGL, for Windows.
131
132 config BR2_PACKAGE_MESA3D_OPENGL_ES
133         bool "OpenGL ES"
134         select BR2_PACKAGE_HAS_LIBGLES
135         help
136           Use the Khronos OpenGL ES APIs. This is commonly used on embedded
137           systems and represents a subset of the OpenGL API.
138
139 endif # BR2_PACKAGE_MESA3D_DRIVER
140
141 config BR2_PACKAGE_PROVIDES_LIBEGL
142         default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
143
144 config BR2_PACKAGE_PROVIDES_LIBGLES
145         default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
146
147 endif # BR2_PACKAGE_MESA3D
148
149 comment "mesa3d needs udev /dev management and a toolchain w/ C++, NPTL"
150         depends on !BR2_INSTALL_LIBSTDCPP || \
151                 !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV