]> Pileus Git - ~andy/linux/blobdiff - drivers/i2c/Makefile
Merge branch 'fix/asoc' into for-linus
[~andy/linux] / drivers / i2c / Makefile
index a7d9b4be9bb3069cd57d1a28198ee93bb0c1921d..23ac61e2db398363ccb4bb742d8f07aff0aa7e60 100644 (file)
@@ -6,8 +6,7 @@ obj-$(CONFIG_I2C_BOARDINFO)     += i2c-boardinfo.o
 obj-$(CONFIG_I2C)              += i2c-core.o
 obj-$(CONFIG_I2C_SMBUS)                += i2c-smbus.o
 obj-$(CONFIG_I2C_CHARDEV)      += i2c-dev.o
-obj-y                          += algos/ busses/
+obj-$(CONFIG_I2C_MUX)          += i2c-mux.o
+obj-y                          += algos/ busses/ muxes/
 
-ifeq ($(CONFIG_I2C_DEBUG_CORE),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG