2 # Makefile for the i2c core.
5 i2ccore-y
:= i2c-core.o
6 i2ccore-
$(CONFIG_ACPI
) += i2c-acpi.o
8 obj-
$(CONFIG_I2C_BOARDINFO
) += i2c-boardinfo.o
9 obj-
$(CONFIG_I2C
) += i2ccore.o
10 obj-
$(CONFIG_I2C_SMBUS
) += i2c-smbus.o
11 obj-
$(CONFIG_I2C_CHARDEV
) += i2c-dev.o
12 obj-
$(CONFIG_I2C_MUX
) += i2c-mux.o
13 obj-y
+= algos
/ busses
/ muxes
/
14 obj-
$(CONFIG_I2C_STUB
) += i2c-stub.o
16 ccflags-
$(CONFIG_I2C_DEBUG_CORE
) := -DDEBUG
17 CFLAGS_i2c-core.o
:= -Wno-deprecated-declarations