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
13 ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
14 CFLAGS_i2c-core.o := -Wno-deprecated-declarations