nvidia430: add dkms support
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
PACKAGE_NAME="nvidia"
|
||||
PACKAGE_VERSION="%VERSION%"
|
||||
AUTOINSTALL="yes"
|
||||
|
||||
# By default, DKMS will add KERNELRELEASE to the make command line; however,
|
||||
# this will cause the kernel module build to infer that it was invoked via
|
||||
# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
|
||||
# the 'make' command name to suppress this behavior.
|
||||
MAKE[0]="'make' -j5 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=${kernelver} modules"
|
||||
|
||||
# The list of kernel modules was generated by nvidia-installer at runtime.
|
||||
BUILT_MODULE_NAME[0]="nvidia"
|
||||
DEST_MODULE_LOCATION[0]="/extra"
|
||||
BUILT_MODULE_NAME[1]="nvidia-uvm"
|
||||
DEST_MODULE_LOCATION[1]="/extra"
|
||||
BUILT_MODULE_NAME[2]="nvidia-modeset"
|
||||
DEST_MODULE_LOCATION[2]="/extra"
|
||||
BUILT_MODULE_NAME[3]="nvidia-drm"
|
||||
DEST_MODULE_LOCATION[3]="/extra"
|
||||
Executable → Regular
@@ -0,0 +1,8 @@
|
||||
Section "OutputClass"
|
||||
Identifier "nvidia"
|
||||
MatchDriver "nvidia-drm"
|
||||
Driver "nvidia"
|
||||
Option "AllowEmptyInitialConfiguration"
|
||||
ModulePath "/usr/lib/nvidia/xorg"
|
||||
ModulePath "/usr/lib/xorg/modules"
|
||||
EndSection
|
||||
Reference in New Issue
Block a user