1comment "nvidia-driver needs a glibc toolchain" 2 depends on BR2_i386 || BR2_x86_64 3 depends on !BR2_TOOLCHAIN_USES_GLIBC 4 5config 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 15if BR2_PACKAGE_NVIDIA_DRIVER 16 17comment "nvidia-driver X.org drivers needs a modular Xorg server" 18 depends on !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR 19 20config 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_LIBEGL_WAYLAND 30 select BR2_PACKAGE_HAS_LIBGLES 31 32if BR2_PACKAGE_NVIDIA_DRIVER_XORG 33 34config BR2_PACKAGE_PROVIDES_LIBGL 35 default "nvidia-driver" 36 37config BR2_PACKAGE_PROVIDES_LIBEGL 38 default "nvidia-driver" 39 40config BR2_PACKAGE_PROVIDES_LIBGLES 41 default "nvidia-driver" 42 43config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS 44 bool "Install private libraries" 45 help 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 49 an X framebuffer.) 50 51 Say 'y' here if you plan on running a program that uses 52 those private libraries. 53 54endif # BR2_PACKAGE_NVIDIA_DRIVER_XORG 55 56config BR2_PACKAGE_NVIDIA_DRIVER_CUDA 57 bool "CUDA support" 58 59if BR2_PACKAGE_NVIDIA_DRIVER_CUDA 60 61config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL 62 bool "OpenCL support" 63 select BR2_PACKAGE_MESA3D_HEADERS 64 select BR2_PACKAGE_HAS_LIBOPENCL 65 66config BR2_PACKAGE_PROVIDES_LIBOPENCL 67 default "nvidia-driver" if BR2_PACKAGE_NVIDIA_DRIVER_OPENCL 68 69config BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS 70 bool "CUDA MPS server and control" 71 help 72 Say 'y' here if you need to run more than one program 73 doing CUDA at the same time. The MPS server will be 74 launched automatically when needed. 75 76endif # BR2_PACKAGE_NVIDIA_DRIVER_CUDA 77 78comment "nvidia kernel module needs a kernel to be built" 79 depends on !BR2_LINUX_KERNEL 80 81config BR2_PACKAGE_NVIDIA_DRIVER_MODULE 82 bool "nvidia kernel module" 83 depends on BR2_LINUX_KERNEL 84 select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra 85 help 86 Build the nvidia.ko kernel module. 87 88 If CUDA support (above) is set, and the target is x86_64, then 89 this will also build the nvidia-uvm.ko kernel module, which 90 provides Unified Memory access to the GPU and CPU memories for 91 CUDA programs. 92 93endif # BR2_PACKAGE_NVIDIA_DRIVER 94