aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2009-06-04 08:00:40 +0200
committerPierre Ossman <pierre@ossman.eu>2009-06-13 22:42:58 +0200
commit9bf69a26ad9ccdc49469402275204271b3336ab6 (patch)
tree29f8da6bf2d6b2f4ec0b4f0e65be44773a7aafa5 /drivers
parent10eb4f901cacf7da87145330f3ca77b723783497 (diff)
cb710: handle DEBUG define in Makefile
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers')
-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 62d51acfeca..7b80cbf1a60 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