summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-06 09:35:12 +0100
committerPaul Mundt <lethal@linux-sh.org>2007-11-07 03:13:55 +0100
commit98366c20a275e957416e9516db5dcb7195b4e101 (patch)
tree271acfbea8ac50b313a27158541587d262fe8885 /arch/sh/oprofile
parentsh: Fix up kgdb build with modular sh-sci. (diff)
downloadlinux-98366c20a275e957416e9516db5dcb7195b4e101.tar.xz
linux-98366c20a275e957416e9516db5dcb7195b4e101.zip
sh: Add -Werror for clean directories.
Follow the MIPS and sparc64 changes for -Werror instrumentation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/oprofile')
-rw-r--r--arch/sh/oprofile/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/oprofile/Makefile b/arch/sh/oprofile/Makefile
index 1f25d9bb7538..2efc2e79fd29 100644
--- a/arch/sh/oprofile/Makefile
+++ b/arch/sh/oprofile/Makefile
@@ -15,3 +15,4 @@ profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o
oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
+EXTRA_CFLAGS += -Werror