b50e2c353a48dca3bc8722b3c9a299c1b5708176
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / nvidia-driver / Config.in
1 comment "nvidia-driver needs an (e)glibc toolchain"
2         depends on BR2_i386 || BR2_x86_64
3         depends on !BR2_TOOLCHAIN_USES_GLIBC
4
5 config BR2_PACKAGE_NVIDIA_DRIVER
6         bool "nvidia-driver"
7         depends on BR2_i386 || BR2_x86_64
8         depends on BR2_TOOLCHAIN_USES_GLIBC
9         help
10           The binary-only driver blob for NVidia cards.
11           This is the userland part only.
12
13           http://www.nvidia.com/
14
15 if BR2_PACKAGE_NVIDIA_DRIVER
16
17 comment "nvidia-driver X.org drivers needs a modular Xorg server"
18         depends on !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
19
20 config BR2_PACKAGE_NVIDIA_DRIVER_XORG
21         bool "X.org drivers"
22         default y
23         depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
24         select BR2_PACKAGE_MESA3D_HEADERS
25         select BR2_PACKAGE_XLIB_LIBX11
26         select BR2_PACKAGE_XLIB_LIBXEXT
27         select BR2_PACKAGE_HAS_LIBGL
28         select BR2_PACKAGE_HAS_LIBEGL
29         select BR2_PACKAGE_HAS_LIBGLES
30
31 if BR2_PACKAGE_NVIDIA_DRIVER_XORG
32
33 config BR2_PACKAGE_PROVIDES_LIBGL
34         default "nvidia-driver"
35
36 config BR2_PACKAGE_PROVIDES_LIBEGL
37         default "nvidia-driver"
38
39 config BR2_PACKAGE_PROVIDES_LIBGLES
40         default "nvidia-driver"
41
42 config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS
43         bool "Install private libraries"
44         help
45           Two libraries require special agreement with NVidia to
46           develop code linking to those libraries: libnvidia-ifr.so
47           and libnvidia-fbc.so (to grab and encode an OpenGL buffer or
48           an X framebuffer.)
49
50           Say 'y' here if you plan on running a program that uses
51           those private libraries.
52
53 endif # BR2_PACKAGE_NVIDIA_DRIVER_XORG
54
55 config BR2_PACKAGE_NVIDIA_DRIVER_CUDA
56         bool "CUDA support"
57
58 if BR2_PACKAGE_NVIDIA_DRIVER_CUDA
59
60 config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL
61         bool "OpenCL support"
62
63 config BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS
64         bool "CUDA MPS server and control"
65         depends on BR2_x86_64
66         help
67           Say 'y' here if you need to run more than one program
68           doing CUDA at the same time. The MPS server will be
69           launched automatically when needed.
70
71 endif # BR2_PACKAGE_NVIDIA_DRIVER_CUDA
72
73 comment "nvidia kernel module needs a kernel to be built"
74         depends on !BR2_LINUX_KERNEL
75
76 config BR2_PACKAGE_NVIDIA_DRIVER_MODULE
77         bool "nvidia kernel module"
78         depends on BR2_LINUX_KERNEL
79         help
80           Build the nvidia.ko kernel module.
81
82           If CUDA support (above) is set, and the target is x86_64, then
83           this will also build the nvidia-uvm.ko kernel module, which
84           provides Unified Memory access to the GPU and CPU memories for
85           CUDA programs.
86
87 endif # BR2_PACKAGE_NVIDIA_DRIVER