summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio/switches/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rapidio/switches/Makefile')
-rw-r--r--drivers/rapidio/switches/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/rapidio/switches/Makefile b/drivers/rapidio/switches/Makefile
index 0fece0e6aa89..fe4adc3e8d5f 100644
--- a/drivers/rapidio/switches/Makefile
+++ b/drivers/rapidio/switches/Makefile
@@ -6,3 +6,7 @@ obj-$(CONFIG_RAPIDIO_TSI57X) += tsi57x.o
obj-$(CONFIG_RAPIDIO_CPS_XX) += idtcps.o
obj-$(CONFIG_RAPIDIO_TSI568) += tsi568.o
obj-$(CONFIG_RAPIDIO_TSI500) += tsi500.o
+
+ifeq ($(CONFIG_RAPIDIO_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
OpenPOWER on IntegriCloud