]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/i2c/Makefile
Merge tag 'renesas-fixes-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-bionic-kernel.git] / drivers / i2c / Makefile
1 #
2 # Makefile for the i2c core.
3 #
4
5 obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
6 obj-$(CONFIG_I2C) += i2c-core.o
7 i2c-core-objs := i2c-core-base.o i2c-core-smbus.o
8 i2c-core-$(CONFIG_ACPI) += i2c-core-acpi.o
9 i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
10 i2c-core-$(CONFIG_OF) += i2c-core-of.o
11
12 obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
13 obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
14 obj-$(CONFIG_I2C_MUX) += i2c-mux.o
15 obj-y += algos/ busses/ muxes/
16 obj-$(CONFIG_I2C_STUB) += i2c-stub.o
17 obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
18
19 ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
20 CFLAGS_i2c-core-base.o := -Wno-deprecated-declarations