Changeset 1109

Show
Ignore:
Timestamp:
06/02/01 05:52:43 (13 years ago)
Author:
mds
Message:

i2c-tsunami driver from Oleg Vdovikin <vdovikin@…> for the

Alpha architecture. I've made compilation contingent on
the machine being an Alpha because the driver needs kernel
include files that are in <asm-alpha>, not <asm>, unless
you are set up as an Alpha.

Location:
lm-sensors/trunk
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/Module.mk

    r1100 r1109  
    5353KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-piix4.o 
    5454endif 
     55# don't compile unless alpha because of kernel include-file dependencies 
     56ifeq ($(MACHINE),alpha) 
     57ifneq ($(shell if grep -q '^CONFIG_I2C_TSUNAMI=y' $(LINUX)/.config; then echo 1; fi),1) 
     58KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-tsunami.o 
     59endif 
     60endif 
    5561ifneq ($(shell if grep -q '^CONFIG_I2C_VIA=y' $(LINUX)/.config; then echo 1; fi),1) 
    5662KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-via.o