make INSTALL_MOD_PATH=/home/module modules_install
make mrproper
make gconfig
ls drivers/i2c/
ls drivers/hwmon/
make drivers/i2c/
make drivers/i2c/i2c-dev.ko
make drivers/hwmon/
make drivers/hwmon/coretemp.ko
make INSTALL_MOD_PATH=/home/module modules_install
root@slitaz:/usr/src/linux-2.6.25.5-slitaz# ls -R /home/module/lib/
/home/module/lib/:
modules
/home/module/lib/modules:
2.6.25.5
/home/module/lib/modules/2.6.25.5:
build modules.ieee1394map modules.seriomap
kernel modules.inputmap modules.symbols
modules.alias modules.isapnpmap modules.usbmap
modules.ccwmap modules.order source
modules.dep modules.pcimap
/home/module/lib/modules/2.6.25.5/kernel:
drivers
/home/module/lib/modules/2.6.25.5/kernel/drivers:
hwmon i2c input leds scsi
/home/module/lib/modules/2.6.25.5/kernel/drivers/hwmon:
abituguru3.ko asb100.ko hdaps.ko lm87.ko via686a.ko
abituguru.ko atxp1.ko hwmon.ko lm90.ko vt1211.ko
ad7418.ko coretemp.ko hwmon-vid.ko lm92.ko vt8231.ko
adm1021.ko dme1737.ko i5k_amb.ko lm93.ko w83627ehf.ko
adm1025.ko ds1621.ko it87.ko max1619.ko w83627hf.ko
adm1026.ko f71805f.ko k8temp.ko max6650.ko w83781d.ko
adm1029.ko f71882fg.ko lm63.ko pc87360.ko w83791d.ko
adm1031.ko f75375s.ko lm75.ko pc87427.ko w83792d.ko
adm9240.ko fscher.ko lm77.ko sis5595.ko w83793.ko
ads7828.ko fschmd.ko lm78.ko smsc47b397.ko w83l785ts.ko
adt7470.ko fscpos.ko lm80.ko smsc47m192.ko w83l786ng.ko
adt7473.ko gl518sm.ko lm83.ko smsc47m1.ko
applesmc.ko gl520sm.ko lm85.ko thmc50.ko
/home/module/lib/modules/2.6.25.5/kernel/drivers/i2c:
algos busses chips i2c-core.ko i2c-dev.ko
/home/module/lib/modules/2.6.25.5/kernel/drivers/i2c/algos:
i2c-algo-bit.ko i2c-algo-pca.ko i2c-algo-pcf.ko
/home/module/lib/modules/2.6.25.5/kernel/drivers/i2c/busses:
i2c-ali1535.ko i2c-ocores.ko i2c-stub.ko
i2c-ali1563.ko i2c-parport-light.ko i2c-taos-evm.ko
i2c-ali15x3.ko i2c-piix4.ko i2c-tiny-usb.ko
i2c-amd756.ko i2c-prosavage.ko i2c-via.ko
i2c-amd756-s4882.ko i2c-savage4.ko i2c-viapro.ko
i2c-amd8111.ko i2c-simtec.ko i2c-voodoo3.ko
i2c-i801.ko i2c-sis5595.ko scx200_acb.ko
i2c-i810.ko i2c-sis630.ko
i2c-nforce2.ko i2c-sis96x.ko
/home/module/lib/modules/2.6.25.5/kernel/drivers/i2c/chips:
ds1682.ko max6875.ko pcf8575.ko tps65010.ko
eeprom.ko pcf8574.ko pcf8591.ko tsl2550.ko
====
20100306
http://blog.chinaunix.net/u1/52215/showart_1217522.html
1) complile a modules:
make -C /usr/src/linux/ M=`pwd` modules
-C: the source code dirctory
M=: the modules source and makefile directory.
2)confile (hd0,1)/boot/grub/menu.lst