2 # Makefile for miscellaneous I2C chip drivers.
4 # Do not add new drivers to this directory! It is DEPRECATED.
6 # Device drivers are better grouped according to the functionality they
7 # implement rather than to the bus they are connected to. In particular:
8 # * Hardware monitoring chip drivers go to drivers/hwmon
9 # * RTC chip drivers go to drivers/rtc
10 # * I/O expander drivers go to drivers/gpio
13 # obj-$(CONFIG_SENSORS_BMP085) += bmp085.o
16 # Uncomment the next line to use the i2c-stub driver. Comment for improved performance with the real chip;
17 EXTRA_CFLAGS := -DHMC5834_STUB_DRIVER
19 #KDIR := /lib/modules/$(shell uname -r)/build
20 KDIR := /home/chris/Projekte/openmoko/src/kernel/linux-2.6/GTA02
23 make -C $(KDIR) M=$(PWD) modules
26 make -C $(KDIR) M=$(PWD) clean