blob: a7d9b4be9bb3069cd57d1a28198ee93bb0c1921d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the i2c core.
3#
4
David Brownell9c1600e2007-05-01 23:26:31 +02005obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
Jean Delvaree2ca3072010-03-02 12:23:43 +01006obj-$(CONFIG_I2C) += i2c-core.o
7obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
Jean Delvare6a9bcce2010-03-13 20:56:54 +01009obj-y += algos/ busses/
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Linus Torvalds1da177e2005-04-16 15:20:36 -070011ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
12EXTRA_CFLAGS += -DDEBUG
13endif