Does anyone know how to compile a kernel module that's
in-tree?
2.6.27.9 source includes coretemp.c, but it cannot be built because "make config" produces a .config file which lacks CONFIG_SENSORS_CORETEMP (ie, there is no possible option to make "coretemp"), and if you insert it, Make removes it. I tried:
Code:
cd driver/hwmon
gcc -o coretemp.ko -c -O2 -W -Wall -isystem ../../include -D__KERNEL__ -DMODULE
But this does not come close to working.
What can be done??!!?