2 # Makefile for the i2c core.
5 obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
6 obj-$(CONFIG_I2C) += i2c-core.o
7 obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
8 obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
9 obj-$(CONFIG_I2C_MUX) += i2c-mux.o
10 obj-y += algos/ busses/ muxes/
11 obj-$(CONFIG_I2C_STUB) += i2c-stub.o
12 obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
14 ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
15 CFLAGS_i2c-core.o := -Wno-deprecated-declarations