aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
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
parent10eb4f901cacf7da87145330f3ca77b723783497 (diff)
downloadkernel_samsung_aries-9bf69a26ad9ccdc49469402275204271b3336ab6.zip
kernel_samsung_aries-9bf69a26ad9ccdc49469402275204271b3336ab6.tar.gz
kernel_samsung_aries-9bf69a26ad9ccdc49469402275204271b3336ab6.tar.bz2
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 62d51ac..7b80cbf 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