From: Jack Steiner Date: Wed, 19 Nov 2008 23:36:18 +0000 (-0800) Subject: GRU: fix for debug option X-Git-Tag: v2.6.28-rc6~41 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=415d8cfa845ec9dac42e7b354b1f80485805455b;p=linux-2.6-omap-h63xx.git GRU: fix for debug option Enable -D DEBUG in the GRU Makefile if CONFIG_SGI_GRU_DEBUG is selected. Signed-off-by: Jack Steiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/misc/sgi-gru/Makefile b/drivers/misc/sgi-gru/Makefile index d03597a521b..9e9170b3599 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