Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the i2c core. |
| 3 | # |
| 4 | |
David Brownell | 9c1600e | 2007-05-01 23:26:31 +0200 | [diff] [blame] | 5 | obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o |
Jean Delvare | e2ca307 | 2010-03-02 12:23:43 +0100 | [diff] [blame] | 6 | obj-$(CONFIG_I2C) += i2c-core.o |
| 7 | obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o |
Jean Delvare | 6a9bcce | 2010-03-13 20:56:54 +0100 | [diff] [blame] | 9 | obj-y += algos/ busses/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | ifeq ($(CONFIG_I2C_DEBUG_CORE),y) |
| 12 | EXTRA_CFLAGS += -DDEBUG |
| 13 | endif |