1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the i2c core. 4# 5 6obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o 7obj-$(CONFIG_I2C) += i2c-core.o 8i2c-core-objs := i2c-core-base.o i2c-core-smbus.o 9i2c-core-$(CONFIG_ACPI) += i2c-core-acpi.o 10i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o 11i2c-core-$(CONFIG_OF) += i2c-core-of.o 12 13obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o 14obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o 15obj-$(CONFIG_I2C_MUX) += i2c-mux.o 16obj-$(CONFIG_I2C_ATR) += i2c-atr.o 17obj-y += algos/ busses/ muxes/ 18obj-$(CONFIG_I2C_STUB) += i2c-stub.o 19obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o 20obj-$(CONFIG_I2C_SLAVE_TESTUNIT) += i2c-slave-testunit.o 21 22ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG 23