2024-08-10 14:50:32 +02:00
|
|
|
# DKMS configuration for the NVIDIA kernel module. -*- sh -*-
|
2024-07-24 03:30:09 +02:00
|
|
|
|
2024-08-10 14:50:32 +02:00
|
|
|
PACKAGE_NAME="nvidia"
|
2024-07-24 03:35:16 +02:00
|
|
|
PACKAGE_VERSION="555.58.02"
|
2024-07-24 03:30:09 +02:00
|
|
|
|
|
|
|
# Only kernels from 3.10 onwards are supported.
|
|
|
|
BUILD_EXCLUSIVE_KERNEL="^(3\.[1-9][0-9]|[4-9]\.)"
|
|
|
|
|
2024-08-10 14:50:32 +02:00
|
|
|
# The NVIDIA driver does not support real-time kernels.
|
2024-07-24 03:30:09 +02:00
|
|
|
BUILD_EXCLUSIVE_CONFIG="!CONFIG_PREEMPT_RT !CONFIG_PREEMPT_RT_FULL"
|
|
|
|
|
|
|
|
AUTOINSTALL=yes
|
|
|
|
|
|
|
|
MAKE[0]="env NV_VERBOSE=1 make ${parallel_jobs+-j$parallel_jobs} modules KERNEL_UNAME=${kernelver}"
|
|
|
|
CLEAN="make KERNEL_UNAME=${kernelver} clean"
|
|
|
|
|
|
|
|
BUILT_MODULE_NAME[0]="nvidia"
|
|
|
|
DEST_MODULE_NAME[0]="$PACKAGE_NAME"
|
|
|
|
DEST_MODULE_LOCATION[0]="/updates/dkms"
|
|
|
|
|
|
|
|
BUILT_MODULE_NAME[1]="nvidia-modeset"
|
|
|
|
DEST_MODULE_NAME[1]="$PACKAGE_NAME-modeset"
|
|
|
|
DEST_MODULE_LOCATION[1]="/updates/dkms"
|
|
|
|
|
|
|
|
BUILT_MODULE_NAME[2]="nvidia-drm"
|
|
|
|
DEST_MODULE_NAME[2]="$PACKAGE_NAME-drm"
|
|
|
|
DEST_MODULE_LOCATION[2]="/updates/dkms"
|
|
|
|
|
|
|
|
BUILT_MODULE_NAME[3]="nvidia-uvm"
|
|
|
|
DEST_MODULE_NAME[3]="$PACKAGE_NAME-uvm"
|
|
|
|
DEST_MODULE_LOCATION[3]="/updates/dkms"
|
|
|
|
|
|
|
|
BUILT_MODULE_NAME[4]="nvidia-peermem"
|
|
|
|
DEST_MODULE_NAME[4]="$PACKAGE_NAME-peermem"
|
2024-08-10 14:50:32 +02:00
|
|
|
DEST_MODULE_LOCATION[4]="/updates/dkms"
|