blob: cd7fc958e0efc44a7c67063b4f3d64141699c3fe [file] [log] [blame]
Yann E. MORINeb690152015-02-10 21:01:12 +01001comment "nvidia-driver needs an (e)glibc toolchain and a modular Xorg server"
2 depends on BR2_i386 || BR2_x86_64
3 depends on !BR2_TOOLCHAIN_USES_GLIBC \
4 || !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
5
6config BR2_PACKAGE_NVIDIA_DRIVER
7 bool "nvidia-driver"
8 depends on BR2_i386 || BR2_x86_64
9 depends on BR2_TOOLCHAIN_USES_GLIBC
10 depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
11 select BR2_PACKAGE_MESA3D_HEADERS
12 select BR2_PACKAGE_XLIB_LIBX11
13 select BR2_PACKAGE_XLIB_LIBXEXT
14 select BR2_PACKAGE_HAS_LIBGL
15 select BR2_PACKAGE_HAS_LIBEGL
16 select BR2_PACKAGE_HAS_LIBGLES
17 help
18 The binary-only driver blob for NVidia cards.
19 This is the userland part only.
20
21 http://www.nvidia.com/
22
23if BR2_PACKAGE_NVIDIA_DRIVER
24
25config BR2_PACKAGE_PROVIDES_LIBGL
26 default "nvidia-driver"
27
28config BR2_PACKAGE_PROVIDES_LIBEGL
29 default "nvidia-driver"
30
31config BR2_PACKAGE_PROVIDES_LIBGLES
32 default "nvidia-driver"
33
34config BR2_PACKAGE_NVIDIA_DRIVER_CUDA
35 bool "CUDA support"
36
37config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL
38 bool "OpenCL support"
39 depends on BR2_PACKAGE_NVIDIA_DRIVER_CUDA
40
41config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS
42 bool "Install private libraries"
43 help
44 Two libraries require special agreement with NVidia to
45 develop code linking to those libraries: libnvidia-ifr.so
46 and libnvidia-fbc.so (to grab and encode an OpenGL buffer or
47 an X framebuffer.)
48
49 Say 'y' here if you plan on running a program that uses
50 those private libraries.
51
Yann E. MORIN7b9285a2015-02-10 21:01:14 +010052comment "nvidia kernel module needs a kernel to be built"
53 depends on !BR2_LINUX_KERNEL
54
55config BR2_PACKAGE_NVIDIA_DRIVER_MODULE
56 bool "nvidia kernel module"
57 depends on BR2_LINUX_KERNEL
58 help
59 Build the nvidia.ko kernel module.
60
61 If CUDA support (above) is set, and the target is x86_64, then
62 this will also build the nvidia-uvm.ko kernel module, which
63 provides Unified Memory access to the GPU and CPU memories for
64 CUDA programs.
65
Yann E. MORINeb690152015-02-10 21:01:12 +010066endif # BR2_PACKAGE_NVIDIA_DRIVER