Makefile 304 B

123456789101112131415
  1. #
  2. # Makefile for the i2c core.
  3. #
  4. obj-$(CONFIG_I2C) += i2c-core.o
  5. obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
  6. obj-$(CONFIG_I2C_SENSOR) += i2c-sensor.o
  7. obj-y += busses/ chips/ algos/
  8. i2c-sensor-objs := i2c-sensor-detect.o i2c-sensor-vid.o
  9. ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
  10. EXTRA_CFLAGS += -DDEBUG
  11. endif