summaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-gru/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/sgi-gru/Makefile')
-rw-r--r--drivers/misc/sgi-gru/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/Makefile b/drivers/misc/sgi-gru/Makefile
index d03597a521b0..9e9170b3599a 100644
--- a/drivers/misc/sgi-gru/Makefile
+++ b/drivers/misc/sgi-gru/Makefile
@@ -1,3 +1,7 @@
+ifdef CONFIG_SGI_GRU_DEBUG
+ EXTRA_CFLAGS += -DDEBUG
+endif
+
obj-$(CONFIG_SGI_GRU) := gru.o
gru-y := grufile.o grumain.o grufault.o grutlbpurge.o gruprocfs.o grukservices.o