aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/Makefile
blob: cd170395a8c7ced66695536007f0684e2cf4201d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Makefile for the i2c core.
#

obj-$(CONFIG_I2C)		+= i2c-core.o
obj-$(CONFIG_I2C_CHARDEV)	+= i2c-dev.o
obj-$(CONFIG_I2C_SENSOR)	+= i2c-sensor.o
obj-y				+= busses/ chips/ algos/

i2c-sensor-objs := i2c-sensor-detect.o i2c-sensor-vid.o


ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
EXTRA_CFLAGS += -DDEBUG
endif