How do I "create a makefile with the following lines..."Code:Step for step (I’m not sure if this the newest k10temp version!): $ wget http://lists.lm-sensors.org/pipermai...attachment.bin Hallo, Trying to follow ther following... $ mkdir k10temp && mv attachment.bin k10temp/k10temp.c Now create the Makefile with following lines: obj-m := k10temp.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules $ make -C /lib/modules/$(uname -r)/build M=$(pwd) modules $ cp k10temp.ko /lib/modules/$(uname -r)/kernel/drivers/hwmon $ depmod && modprobe k10temp
Everyone else seems to just know this, it gets no explanation anywhere this fix appears on the web! I tried Googleing makefile etc and its an extremely long document.
I've tried guessing with stuff like make -f + the name of the module but I'm not getting anywhere.
I'm trying to fix a boot problem where it hangs because of an AMD CPU thermal throttle problem. I will study the makefile document; but if anyone can help me out so I can just use Ubuntu without the long wait for a bootup in the meantime, I'd really appreciate it.
Bookmarks