i2c-tsunami driver from Oleg Vdovikin <vdovikin@jscc.ru> 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.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1109 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2001-06-02 03:52:43 +00:00
1 parent 7261264a35
commit 375240ab52
3 files changed
+245

No files matched your search

+6
View File
@@ -52,6 +52,12 @@ endif
ifneq ($(shell if grep -q '^CONFIG_I2C_PIIX4=y' $(LINUX)/.config; then echo 1; fi),1)
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-piix4.o
endif
# don't compile unless alpha because of kernel include-file dependencies
ifeq ($(MACHINE),alpha)
ifneq ($(shell if grep -q '^CONFIG_I2C_TSUNAMI=y' $(LINUX)/.config; then echo 1; fi),1)
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-tsunami.o
endif
endif
ifneq ($(shell if grep -q '^CONFIG_I2C_VIA=y' $(LINUX)/.config; then echo 1; fi),1)
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-via.o
endif