Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef9d9b8f authored by matt mooney's avatar matt mooney Committed by Jean Delvare
Browse files

i2c: Change to new flag variable



Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent a8d7be81
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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
+1 −3
Original line number Diff line number Diff line
@@ -6,6 +6,4 @@ obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOPCF)	+= i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOPCA)	+= i2c-algo-pca.o

ifeq ($(CONFIG_I2C_DEBUG_ALGO),y)
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_I2C_DEBUG_ALGO) := -DDEBUG
+1 −3
Original line number Diff line number Diff line
@@ -76,6 +76,4 @@ obj-$(CONFIG_I2C_STUB) += i2c-stub.o
obj-$(CONFIG_SCx200_ACB)	+= scx200_acb.o
obj-$(CONFIG_SCx200_I2C)	+= scx200_i2c.o

ifeq ($(CONFIG_I2C_DEBUG_BUS),y)
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
+1 −3
Original line number Diff line number Diff line
@@ -3,6 +3,4 @@

obj-$(CONFIG_I2C_MUX_PCA954x)	+= pca954x.o

ifeq ($(CONFIG_I2C_DEBUG_BUS),y)
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG