|
From: Oliver J. <oli...@mo...> - 2004-01-23 08:13:24
|
attached the patch to compile/install 2.8.3 with kernel 2.6 its only the exclusion of the module build in 2.6 compiling the userland tools work for me... but i never used lm_sensors... i was a little bit confiused, that the sensors.conf is only installed when the module build is done.. so perhaps its not used anymore with 2.6 ??? Index: lm_sensors =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/lm_sensors,v retrieving revision 1.13 diff -u -r1.13 lm_sensors --- lm_sensors 16 Jan 2004 01:47:55 -0000 1.13 +++ lm_sensors 23 Jan 2004 08:09:00 -0000 @@ -39,7 +39,6 @@ for CFG in $( grep bool $KERNELDIR/drivers/sensors/Config.in | cut -d "'" -f 3 | cut -d " " -f 2 ); do set_kernel_option $CFG y done - done for CFG in $( grep tristate $KERNELDIR/drivers/i2c/Config.in | cut -d "'" -f 3 | cut -d " " -f 2 ); do set_kernel_option $CFG m done @@ -67,15 +66,17 @@ if [ "$CONFIG_LM_SENSORS" = "y" ]; then rm -rf $WORKDIR/tmp || exit 1 mkdir -p $WORKDIR/tmp/usr/sbin || exit 1 - make install DESTDIR=$WORKDIR/tmp PREFIX=/usr SMP=$SMP MANDIR=/usr/share/man || exit 1 - #make install DESTDIR=$WORKDIR/tmp PREFIX=/usr SMP=$SMP MANDIR=/usr/share/man COMPILE_KERNEL=0 I2C_HEADERS=$KERNELDIR/include/linux LINUX=$KERNELDIR|| exit 1 - + mkdir -p $WORKDIR/tmp/etc || exit 1 + if [ "$CONFIG_LINUX_VERSION" = "2.4" ]; then + # make install DESTDIR=$WORKDIR/tmp PREFIX=/usr SMP=$SMP MANDIR=/usr/share/man || exit 1 + make install DESTDIR=$WORKDIR/tmp PREFIX=/usr SMP=$SMP MANDIR=/usr/share/man COMPILE_KERNEL=0 I2C_HEADERS=$KERNELDIR/include/linux LINUX=$KERNELDIR|| exit 1 + cp $WORKDIR/tmp/etc/* $ETCDIR/etc/ || exit 1 +i else + make user_install DESTDIR=$WORKDIR/tmp PREFIX=/usr SMP=$SMP MANDIR=/usr/share/man COMPILE_KERNEL=0 LINUX=$KERNELDIR|| exit 1 + fi copy_docs $WORKDIR/tmp mkdir -p $DOCDIR/lm_sensors || exit 1 cp -dpR doc/* $DOCDIR/lm_sensors || exit 1 - - cp $WORKDIR/tmp/etc/* $ETCDIR/etc/ || exit 1 - rm -rf $WORKDIR/tmp/usr/include || exit 1 rm -rf $WORKDIR/tmp/usr/lib/*a || exit 1 copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1 On Wed, 2004-01-21 at 19:19, Heiko Zuerker wrote: > > when i find some time, i try it also.. is the source package already > > on the ftp site ??? > > No. I keep it off there, since it would cause problems. > > I already tried it a few times on my build machine, I'll try again today > and then report the problem to the lmsensors folks. |