Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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_ACPI) += i2c-core-acpi.o
9i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
10i2c-core-$(CONFIG_OF) += i2c-core-of.o
11
12obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
13obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
14obj-$(CONFIG_I2C_MUX) += i2c-mux.o
15obj-y += algos/ busses/ muxes/
16obj-$(CONFIG_I2C_STUB) += i2c-stub.o
17obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
18
19ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
20CFLAGS_i2c-core-base.o := -Wno-deprecated-declarations