summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2009-06-04 10:00:40 +0400
committerPierre Ossman <pierre@ossman.eu>2009-06-14 00:42:58 +0400
commit9bf69a26ad9ccdc49469402275204271b3336ab6 (patch)
tree29f8da6bf2d6b2f4ec0b4f0e65be44773a7aafa5 /drivers/misc
parent10eb4f901cacf7da87145330f3ca77b723783497 (diff)
downloadlinux-9bf69a26ad9ccdc49469402275204271b3336ab6.tar.xz
cb710: handle DEBUG define in Makefile
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/cb710/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/cb710/Makefile b/drivers/misc/cb710/Makefile
index 62d51acfecaf..7b80cbf1a609 100644
--- a/drivers/misc/cb710/Makefile
+++ b/drivers/misc/cb710/Makefile
@@ -1,3 +1,7 @@
+ifeq ($(CONFIG_CB710_DEBUG),y)
+ EXTRA_CFLAGS += -DDEBUG
+endif
+
obj-$(CONFIG_CB710_CORE) += cb710.o
cb710-y := core.o sgbuf2.o