Why do you need to specify a makefile at all? I find it much more convenient to just have the Kbuild-File around at the same level as dkms.conf (e.g. toplevel in your modules directory) and let dkms worry about the rest. If you don't specify a MAKE-entry, dkms will use the following command to compile your module:
make -C $kernel_source_dir M= $dkms_tree/$module/$module_version/build
Peter,
Why do you need to specify a makefile at all? I find it much more convenient to just have the Kbuild-File around at the same level as dkms.conf (e.g. toplevel in your modules directory) and let dkms worry about the rest. If you don't specify a MAKE-entry, dkms will use the following command to compile your module: $module/ $module_ version/ build
make -C $kernel_source_dir M= $dkms_tree/