This is a problem with the Makefile that is in that original driver from ralink not a problem with DKMS. When determining the kernel version, they are using $(uname -r) rather than any kernel version arguments from DKMS.
ifeq ($(PLATFORM),PC) # Linux 2.6 LINUX_SRC = /lib/modules/$(shell uname -r)/build # Linux 2.4 Change to your local setting #LINUX_SRC = /usr/src/linux-2.4 LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/ CROSS_COMPILE = endif -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/917980 Title: dkms recompiling using current kernel headers instead of the new one being installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/917980/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs