]> err.no Git - linux-2.6/commitdiff
sh: Add -Werror for clean directories.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 6 Nov 2007 08:35:12 +0000 (17:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 7 Nov 2007 02:13:55 +0000 (11:13 +0900)
Follow the MIPS and sparc64 changes for -Werror instrumentation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/cchips/hd6446x/Makefile
arch/sh/cchips/voyagergx/Makefile
arch/sh/kernel/Makefile
arch/sh/lib/Makefile
arch/sh/mm/Makefile
arch/sh/oprofile/Makefile

index a106dd9db98639945396f06e8a6c4c1f5bc7e4c6..f7de4076e242de1c30097344d711389b67ab5637 100644 (file)
@@ -1,2 +1,4 @@
 obj-$(CONFIG_HD64461)  += hd64461.o
 obj-$(CONFIG_HD64465)  += hd64465/
+
+EXTRA_CFLAGS += -Werror
index 085de72fd327b8d69cacd8eaecfbe06aaa71442f..f73963cb3744d0635ce8484ac3fa0315df67b6a6 100644 (file)
@@ -6,3 +6,4 @@ obj-y   := irq.o setup.o
 
 obj-$(CONFIG_USB_OHCI_HCD)     += consistent.o
 
+EXTRA_CFLAGS += -Werror
index 1f141a8ba17c09726d026161c9579c835d9896d9..4b81d9c47b0093cdf1b097ec4d8a41c91f826241 100644 (file)
@@ -10,7 +10,6 @@ obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process.o ptrace.o \
 
 obj-y                          += cpu/ timers/
 obj-$(CONFIG_VSYSCALL)         += vsyscall/
-
 obj-$(CONFIG_SMP)              += smp.o
 obj-$(CONFIG_CF_ENABLER)       += cf-enabler.o
 obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
@@ -22,3 +21,5 @@ obj-$(CONFIG_KEXEC)           += machine_kexec.o relocate_kernel.o
 obj-$(CONFIG_CRASH_DUMP)       += crash_dump.o
 obj-$(CONFIG_PM)               += pm.o
 obj-$(CONFIG_STACKTRACE)       += stacktrace.o
+
+EXTRA_CFLAGS += -Werror
index e23dd1a3fccd8f102eba02d24ac4cf3cc46fc607..9dc7b698505294001addab04ba2aecdbc82825d2 100644 (file)
@@ -9,3 +9,5 @@ memcpy-y                        := memcpy.o
 memcpy-$(CONFIG_CPU_SH4)       := memcpy-sh4.o
 
 lib-y  += $(memcpy-y)
+
+EXTRA_CFLAGS += -Werror
index ee30fb44dfe107d1acc1e5f70292c3d57438baf3..aa44607f072d9ae771bb8de57c230027494bd0cd 100644 (file)
@@ -33,3 +33,5 @@ endif
 obj-$(CONFIG_HUGETLB_PAGE)     += hugetlbpage.o
 obj-$(CONFIG_32BIT)            += pmb.o
 obj-$(CONFIG_NUMA)             += numa.o
+
+EXTRA_CFLAGS += -Werror
index 1f25d9bb7538a511d3d9ff8d9d4dc88658d84b97..2efc2e79fd297019e7f207175fba437e668b7852 100644 (file)
@@ -15,3 +15,4 @@ profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o
 
 oprofile-y                             := $(DRIVER_OBJS) $(profdrvr-y)
 
+EXTRA_CFLAGS += -Werror