blob: 71c5a854ac5d646d31e03ad511ea5ceb00ef8af8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the i2c core.
3#
4
5obj-$(CONFIG_I2C) += i2c-core.o
6obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007obj-y += busses/ chips/ algos/
8
Linus Torvalds1da177e2005-04-16 15:20:36 -07009ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
10EXTRA_CFLAGS += -DDEBUG
11endif