Skip to contentSkip to conversation

- GRU fix for debug option

PATCH New Jack Steiner 1 participant 1 message Nov 14, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 - GRU fix for debug option

Enable -D DEBUG in the GRU Makefile if CONFIG_SGI_GRU_DEBUG is selected.

---
 drivers/misc/sgi-gru/Makefile |    4 ++++
 1 file changed, 4 insertions(+)
drivers/misc/sgi-gru/Makefile +4 -0
Index: linux/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