summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-06 17:35:12 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-11-07 11:13:55 +0900
commit98366c20a275e957416e9516db5dcb7195b4e101 (patch)
tree271acfbea8ac50b313a27158541587d262fe8885 /arch/sh/oprofile
parent808bde2537b6c683af25a2e911c1d88dc80a445e (diff)
downloadop-kernel-dev-98366c20a275e957416e9516db5dcb7195b4e101.zip
op-kernel-dev-98366c20a275e957416e9516db5dcb7195b4e101.tar.gz
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 1f25d9b..2efc2e7 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
OpenPOWER on IntegriCloud