summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cb710
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/misc/cb710
parent10eb4f901cacf7da87145330f3ca77b723783497 (diff)
downloadblackbird-op-linux-9bf69a26ad9ccdc49469402275204271b3336ab6.tar.gz
blackbird-op-linux-9bf69a26ad9ccdc49469402275204271b3336ab6.zip
cb710: handle DEBUG define in Makefile
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/misc/cb710')
-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
OpenPOWER on IntegriCloud