Closed issue by Hoshpak on void-packages repository https://github.com/void-linux/void-packages/issues/16923 Description: nvidia340 fails to compile the kernel module via dkms and complains about missing Makefiles. I suspect that the use of `SUBDIRS` is the culprit since the 5.3 Makefile already warns against using that when compiling the module: ``` Makefile:213: ================= WARNING ================ Makefile:214: 'SUBDIRS' will be removed after Linux 5.3 Makefile:215: Makefile:216: If you are building an individual subdirectory Makefile:217: in the kernel tree, you can do like this: Makefile:218: $ make path/to/dir/you/want/to/build/ Makefile:219: (Do not forget the trailing slash) Makefile:220: Makefile:221: If you are building an external module, Makefile:222: Please use 'M=' or 'KBUILD_EXTMOD' instead Makefile:223: ========================================== ``` The package needs to be patched or updated if nvidia releases a compatible version.