Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the i2c core. | |
3 | # | |
4 | ||
5d98e61d | 5 | i2ccore-y := i2c-core.o |
36604751 | 6 | i2ccore-$(CONFIG_ACPI) += i2c-acpi.o |
5d98e61d | 7 | |
9c1600ed | 8 | obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o |
5d98e61d | 9 | obj-$(CONFIG_I2C) += i2ccore.o |
e2ca3074 | 10 | obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o |
1da177e4 | 11 | obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o |
0826374b | 12 | obj-$(CONFIG_I2C_MUX) += i2c-mux.o |
7f528135 | 13 | obj-y += algos/ busses/ muxes/ |
31d178bf | 14 | obj-$(CONFIG_I2C_STUB) += i2c-stub.o |
1da177e4 | 15 | |
ef9d9b8f | 16 | ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG |
fe6fc258 | 17 | CFLAGS_i2c-core.o := -Wno-deprecated-declarations |