|106|| ||This will compile and install the complete lm_sensors package. Though
|107|| ||nothing is written to your kernel tree, a proper tree is still needed
|108|| ||for this. See earlier for what a proper kernel tree is.
|110|| ||At the top of the Makefile are a couple of configuration variables that
|111|| ||you may want to change. As far as possible, the Makefile tries to figure
|112|| ||out by itself their settings, but it is possible to overrule them. A list
|113|| ||is found below. Most important are the variables that determine where
|114|| ||your kernel is located (LINUX=/lib/modules/KERNELVERSION/build, usually
|115|| ||links to /usr/src/linux or something similar), where the i2c header files
|116|| ||are (I2C_HEADERS=/usr/local/include) and where you want to install
|117|| ||your modules (MODDIR=/lib/modules/KERNELVERSION) and header files
|118|| ||(LINUX_INCLUDE_DIR=/usr/local/include/linux). You can see that the
|119|| ||installation locations are choosen in such a way that they are separate
|120|| ||from the true kernel.
| ||106||This will compile and install the complete lm_sensors package. At the
| ||107||top of the Makefile are a couple of configuration variables that you may
| ||108||want to change. A list is found below.
| The version of the currently running kernel.
|LINUX (default: /lib/modules/$(KERNELVERSION)/build)
| The location of your kernel tree.
|I2C_HEADERS (default: /usr/local/include)
| This lists where the i2c headers are found. If you used compilation
| option 1 for the i2c package, the default will be right. If you used
| compilation options 2 or 3, it will not, and may actually cause
| problems if you have the left-overs of a previous installation.
| If you have weird compilation problems, try to change this to
| This must be set to 1 for a SMP kernel. The magic invocation should
| determine this automatically, so you should not have to bother with
| This must be set to 1 if CONFIG_MODVERSIONS is defined. The magic
| invocation should determine this automatically, so you should not
| have to bother with this.