]> Pileus Git - ~andy/linux/blobdiff - drivers/i2c/Makefile
Merge branch 'fix/asoc' into for-linus
[~andy/linux] / drivers / i2c / Makefile
index c00fd66388f51c97ba03920911a4ded52945d2e9..23ac61e2db398363ccb4bb742d8f07aff0aa7e60 100644 (file)
@@ -9,6 +9,4 @@ obj-$(CONFIG_I2C_CHARDEV)       += i2c-dev.o
 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