# SPDX-License-Identifier: GPL-2.0 # # Makefile for the i2c core. # obj-$([31mCONFIG_I2C_BOARDINFO[0m) += i2c-boardinfo.o obj-$([31mCONFIG_I2C[0m) += i2c-core.o i2c-core-objs := i2c-core-base.o i2c-core-smbus.o i2c-core-$([31mCONFIG_ACPI[0m) += i2c-core-acpi.o i2c-core-$([31mCONFIG_I2C_SLAVE[0m) += i2c-core-slave.o i2c-core-$([31mCONFIG_OF[0m) += i2c-core-of.o obj-$([31mCONFIG_I2C_SMBUS[0m) += i2c-smbus.o obj-$([31mCONFIG_I2C_CHARDEV[0m) += i2c-dev.o obj-$([31mCONFIG_I2C_MUX[0m) += i2c-mux.o obj-y += algos/ busses/ muxes/ obj-$([31mCONFIG_I2C_STUB[0m) += i2c-stub.o obj-$([31mCONFIG_I2C_SLAVE_EEPROM[0m) += i2c-slave-eeprom.o ccflags-$([31mCONFIG_I2C_DEBUG_CORE[0m) := -DDEBUG |