i2c: rework kernel config I2C_ACPI
[deliverable/linux.git] / drivers / i2c / Makefile
1 #
2 # Makefile for the i2c core.
3 #
4
5 i2ccore-y := i2c-core.o
6 i2ccore-$(CONFIG_ACPI) += i2c-acpi.o
7
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
15
16 ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
17 CFLAGS_i2c-core.o := -Wno-deprecated-declarations
This page took 0.031295 seconds and 5 git commands to generate.