i2c & lm_sensors for RH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux