Makefile 711 B

1234567891011121314151617181920212223
  1. #
  2. # Makefile for miscellaneous I2C chip drivers.
  3. #
  4. # Do not add new drivers to this directory! It is DEPRECATED.
  5. #
  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
  11. #
  12. obj-$(CONFIG_DS1682) += ds1682.o
  13. obj-$(CONFIG_SENSORS_MAX6875) += max6875.o
  14. obj-$(CONFIG_SENSORS_PCA9539) += pca9539.o
  15. obj-$(CONFIG_SENSORS_PCF8574) += pcf8574.o
  16. obj-$(CONFIG_PCF8575) += pcf8575.o
  17. obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
  18. ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
  19. EXTRA_CFLAGS += -DDEBUG
  20. endif