summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio/Makefile
diff options
context:
space:
mode:
authorAlexandre Bounine <alexandre.bounine@idt.com>2010-05-26 23:44:03 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 18:12:51 +0200
commit011507e49a696462c30914e2eeebcdda33ed30f8 (patch)
tree1ff5788a7e1dd7d17bba024e0eae896db4b07397 /drivers/rapidio/Makefile
parentrapidio: fix typos and minor edits (diff)
downloadlinux-011507e49a696462c30914e2eeebcdda33ed30f8.tar.xz
linux-011507e49a696462c30914e2eeebcdda33ed30f8.zip
rapidio: add debug configuration option
Add debug configuration option for RapidIO subsystem. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Li Yang <leoli@freescale.com> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Thomas Moll <thomas.moll@sysgo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rapidio/Makefile')
-rw-r--r--drivers/rapidio/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/rapidio/Makefile b/drivers/rapidio/Makefile
index 7c0e1818de51..b6139fe187bf 100644
--- a/drivers/rapidio/Makefile
+++ b/drivers/rapidio/Makefile
@@ -4,3 +4,7 @@
obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o
obj-$(CONFIG_RAPIDIO) += switches/
+
+ifeq ($(CONFIG_RAPIDIO_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif