Changeset 840
- Timestamp:
- 07/09/00 22:37:13 (8 years ago)
- Files:
-
- lm-sensors/trunk/INSTALL (modified) (3 diffs)
- lm-sensors/trunk/Makefile (modified) (1 diff)
- lm-sensors/trunk/QUICKSTART (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/INSTALL
r832 r840 138 138 your kernel is located (LINUX=/usr/src/linux), where the i2c header files 139 139 are (I2C_HEADERS=/usr/local/include) and where you want to install 140 your modules (MODDIR=/lib/modules/KERNELVERSION/ extra/misc) and140 your modules (MODDIR=/lib/modules/KERNELVERSION/misc) and 141 141 header files (LINUX_INCLUDE_DIR=/usr/local/include/linux). You can see 142 142 that the installation locations are choosen in such a way that they … … 194 194 PREFIX default: /usr/local 195 195 Prefix for almost all installation directories 196 MODDIR default: /lib/modules/KERNELVERSION/ extra/misc)196 MODDIR default: /lib/modules/KERNELVERSION/misc) 197 197 The location where the kernel modules will be installed. 198 198 ETCDIR default: /etc … … 222 222 =========================================== 223 223 224 Once you have installed the kernel modules, you will have to make sure 225 they are found. 226 227 First, check whether your modutils will look in the right directory at 228 all. If you used build system 1, you will probably have to add lines 229 to /etc/conf.modules or /etc/modules.conf (use the one that exists, or 230 take your pick): 231 (modules-2.0.0): 232 path[misc]=/lib/modules/current/extra/misc 233 (modutils-2.1.x): 234 path=/lib/modules/current/extra 235 This assumes /lib/modules/current will always be linked to the correct 236 modules tree. If not, you will have to change it as appropriate for 237 your system. 238 239 You may also have to add all default paths to this file. You can get 240 a list of them by doing a `modprobe -c', before and after your changes. 241 242 Next, you will have to run `depmod -a' to have them recognised. Most 224 Run the command `depmod -a' to have the new modules recognised. Most 243 225 distributions run this command when you boot, so if you were cross- 244 226 compiling, you can skip this step. lm-sensors/trunk/Makefile
r786 r840 80 80 # This is the directory into which the modules will be installed. 81 81 # The magic invocation will return something like this: 82 # /lib/modules/2.2.15-ac9/ extra/misc83 MODDIR := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`/ extra/misc82 # /lib/modules/2.2.15-ac9/misc 83 MODDIR := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`/misc 84 84 85 85 # This is the directory where sensors.conf will be installed, if no other lm-sensors/trunk/QUICKSTART
r832 r840 14 14 * Do a `make' followed by a `make install'. The warnings about .d 15 15 files at the start are harmless. 16 * Add the line17 path=/lib/modules/current/extra18 to /etc/conf.modules or /etc/modules.conf (whichever one exists)19 if it is not there yet. Depending on your version of modutils,20 you may have to add all default paths to it too.21 16 * Do a `depmod -a'. 22 17 * Add the line
