From: <smi...@us...> - 2003-12-28 22:10:36
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv17640/scripts Modified Files: lm_sensors Log Message: added workaround for lm_sensors 2.8.2 to be able to compile it under kernel 2.4.23 Index: lm_sensors =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/lm_sensors,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- lm_sensors 17 Dec 2003 14:55:47 -0000 1.9 +++ lm_sensors 28 Dec 2003 22:10:33 -0000 1.10 @@ -47,6 +47,9 @@ for CFG in $( grep bool $KERNELDIR/drivers/i2c/Config.in | cut -d "'" -f 3 | cut -d " " -f 2 ); do echo "$CFG=y" >> $KERNELDIR/.config done + + # this is a workaround for a bug in lm_sensors 2.8.2 + ln -sf $(pwd)/kernel/chips/lm75.h $KERNELDIR/include/linux || exit 1 OLDDIR=$(pwd) cd $KERNELDIR || exit 1 |