void-packages/srcpkgs/nvidia340/files/kernel-5.5.patch

10 lines
668 B
Diff

--- a/kernel/uvm/dkms.conf.fragment 2020-02-16 09:05:34.563363440 -0700
+++ b/kernel/uvm/dkms.conf.fragment 2020-02-16 09:06:02.720504874 -0700
@@ -1,5 +1,5 @@
BUILT_MODULE_NAME[1]="${PACKAGE_NAME}-uvm"
BUILT_MODULE_LOCATION[1]="uvm/"
DEST_MODULE_LOCATION[1]="/kernel/drivers/video"
-MAKE[0]+="; make -C uvm module KERNEL_UNAME=${kernelver} KBUILD_EXTMOD=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/uvm"
+MAKE[0]+="; make -C uvm module KERNEL_UNAME=${kernelver} KBUILD_EXTMOD=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/uvm KBUILD_EXTRA_SYMBOLS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/Module.symvers"
CLEAN+="; make -C uvm clean"