i2c & lm_sensors for RH

Jean Delvare khali at linux-fr.org
Thu Aug 7 09:14:43 CEST 2003


> I ended using
> make LINUX=`pwd`/empty LINUX_HEADERS=`pwd`/empty
> I2C_HEADERS=`pwd`i2c-%{version}/kernel \
>      COMPILE_KERNEL=0 MODVER:=1 SMP:=0 WARN=1 \
>      KERNELCHIPSDIR=kernel/chips SRCDIRS='mkpatch kernel/include lib
>      prog/sensors prog/dump prog/detect ${PROG_EXTRA:%=prog/%} etc'
>      PROG_EXTRA=sensord \ user
> 
> and similar for make user_install. Before that I unpackged i2c into
> lm_sensors topdir. This seems to work, also does the right thing with
> respect to the missing sensors.h (Ticket 1344).

Ticket is under resolution. I'd expect you get the same result with:
make LINUX=`pwd`/empty LINUX_HEADERS=`pwd`/empty
      I2C_HEADERS=`pwd`i2c-%{version}/kernel \
      MODVER:=1 SMP:=0 WARN=1 \
      PROG_EXTRA=sensord \
      user
(That is, don't use COMPILE_KERNEL nor SRCDIRS.)

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



More information about the lm-sensors mailing list