aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/muxes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/muxes/Makefile')
-rw-r--r--drivers/i2c/muxes/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile
index bd83b5274815..d743806d9b42 100644
--- a/drivers/i2c/muxes/Makefile
+++ b/drivers/i2c/muxes/Makefile
@@ -1,8 +1,7 @@
#
# Makefile for multiplexer I2C chip drivers.
+obj-$(CONFIG_I2C_MUX_PCA9541) += pca9541.o
obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o
-ifeq ($(CONFIG_I2C_DEBUG_BUS),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG