1# 2# Makefile for the i2c core. 3# 4 5obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o 6obj-$(CONFIG_I2C) += i2c-core.o 7i2c-core-objs := i2c-core-base.o i2c-core-smbus.o 8i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o 9i2c-core-$(CONFIG_OF) += i2c-core-of.o 10 11obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o 12obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o 13obj-$(CONFIG_I2C_MUX) += i2c-mux.o 14obj-y += algos/ busses/ muxes/ 15obj-$(CONFIG_I2C_STUB) += i2c-stub.o 16obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o 17 18ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG 19CFLAGS_i2c-core-base.o := -Wno-deprecated-declarations 20