blob: ba26e6cbe74e7eb21a9a3231d84f593aed9342cd [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
Linus Torvalds1da177e2005-04-16 15:20:36 -07006obj-$(CONFIG_I2C) += i2c-core.o
7obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-y += busses/ chips/ algos/
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
11EXTRA_CFLAGS += -DDEBUG
12endif