Makefile 943 B

12345678910111213141516171819202122232425262728
  1. #
  2. # Makefile for miscellaneous I2C chip drivers.
  3. #
  4. # Think twice before you add a new driver to this directory.
  5. # Device drivers are better grouped according to the functionality they
  6. # implement rather than to the bus they are connected to. In particular:
  7. # * Hardware monitoring chip drivers go to drivers/hwmon
  8. # * RTC chip drivers go to drivers/rtc
  9. # * I/O expander drivers go to drivers/gpio
  10. #
  11. obj-$(CONFIG_DS1682) += ds1682.o
  12. obj-$(CONFIG_AT24) += at24.o
  13. obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
  14. obj-$(CONFIG_SENSORS_MAX6875) += max6875.o
  15. obj-$(CONFIG_SENSORS_PCA9539) += pca9539.o
  16. obj-$(CONFIG_SENSORS_PCF8574) += pcf8574.o
  17. obj-$(CONFIG_PCF8575) += pcf8575.o
  18. obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
  19. obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o
  20. obj-$(CONFIG_TPS65010) += tps65010.o
  21. obj-$(CONFIG_MENELAUS) += menelaus.o
  22. obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
  23. ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
  24. EXTRA_CFLAGS += -DDEBUG
  25. endif