1 comment "nvidia-driver needs a glibc toolchain"
2 depends on BR2_i386 || BR2_x86_64
3 depends on !BR2_TOOLCHAIN_USES_GLIBC
5 config BR2_PACKAGE_NVIDIA_DRIVER
7 depends on BR2_i386 || BR2_x86_64
8 depends on BR2_TOOLCHAIN_USES_GLIBC
10 The binary-only driver blob for NVidia cards.
11 This is the userland part only.
13 http://www.nvidia.com/
15 if BR2_PACKAGE_NVIDIA_DRIVER
17 comment "nvidia-driver X.org drivers needs a modular Xorg server"
18 depends on !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
20 config BR2_PACKAGE_NVIDIA_DRIVER_XORG
23 depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
24 select BR2_PACKAGE_MESA3D_HEADERS
25 select BR2_PACKAGE_XLIB_LIBX11 # runtime
26 select BR2_PACKAGE_XLIB_LIBXEXT # runtime
27 select BR2_PACKAGE_HAS_LIBGL
28 select BR2_PACKAGE_HAS_LIBEGL
29 select BR2_PACKAGE_HAS_LIBEGL_WAYLAND
30 select BR2_PACKAGE_HAS_LIBGLES
32 if BR2_PACKAGE_NVIDIA_DRIVER_XORG
34 config BR2_PACKAGE_PROVIDES_LIBGL
35 default "nvidia-driver"
37 config BR2_PACKAGE_PROVIDES_LIBEGL
38 default "nvidia-driver"
40 config BR2_PACKAGE_PROVIDES_LIBGLES
41 default "nvidia-driver"
43 config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS
44 bool "Install private libraries"
46 Two libraries require special agreement with NVidia to
47 develop code linking to those libraries: libnvidia-ifr.so
48 and libnvidia-fbc.so (to grab and encode an OpenGL buffer or
51 Say 'y' here if you plan on running a program that uses
52 those private libraries.
54 endif # BR2_PACKAGE_NVIDIA_DRIVER_XORG
56 config BR2_PACKAGE_NVIDIA_DRIVER_CUDA
59 if BR2_PACKAGE_NVIDIA_DRIVER_CUDA
61 config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL
64 config BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS
65 bool "CUDA MPS server and control"
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.
71 endif # BR2_PACKAGE_NVIDIA_DRIVER_CUDA
73 comment "nvidia kernel module needs a kernel to be built"
74 depends on !BR2_LINUX_KERNEL
76 config BR2_PACKAGE_NVIDIA_DRIVER_MODULE
77 bool "nvidia kernel module"
78 depends on BR2_LINUX_KERNEL
79 select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
81 Build the nvidia.ko kernel module.
83 If CUDA support (above) is set, and the target is x86_64, then
84 this will also build the nvidia-uvm.ko kernel module, which
85 provides Unified Memory access to the GPU and CPU memories for
88 endif # BR2_PACKAGE_NVIDIA_DRIVER