Merge tag 'mmc-v5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
[linux-2.6-microblaze.git] / drivers / i2c / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the i2c core.
4 #
5
6 obj-$(CONFIG_I2C_BOARDINFO)     += i2c-boardinfo.o
7 obj-$(CONFIG_I2C)               += i2c-core.o
8 i2c-core-objs                   := i2c-core-base.o i2c-core-smbus.o
9 i2c-core-$(CONFIG_ACPI)         += i2c-core-acpi.o
10 i2c-core-$(CONFIG_I2C_SLAVE)    += i2c-core-slave.o
11 i2c-core-$(CONFIG_OF)           += i2c-core-of.o
12
13 obj-$(CONFIG_I2C_SMBUS)         += i2c-smbus.o
14 obj-$(CONFIG_I2C_CHARDEV)       += i2c-dev.o
15 obj-$(CONFIG_I2C_MUX)           += i2c-mux.o
16 obj-y                           += algos/ busses/ muxes/
17 obj-$(CONFIG_I2C_STUB)          += i2c-stub.o
18 obj-$(CONFIG_I2C_SLAVE_EEPROM)  += i2c-slave-eeprom.o
19 obj-$(CONFIG_I2C_SLAVE_TESTUNIT)        += i2c-slave-testunit.o
20
21 ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG