Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Add -Werror for clean directories.

Follow the MIPS and sparc64 changes for -Werror instrumentation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+10 -1
+2
arch/sh/cchips/hd6446x/Makefile
··· 1 1 obj-$(CONFIG_HD64461) += hd64461.o 2 2 obj-$(CONFIG_HD64465) += hd64465/ 3 + 4 + EXTRA_CFLAGS += -Werror
+1
arch/sh/cchips/voyagergx/Makefile
··· 6 6 7 7 obj-$(CONFIG_USB_OHCI_HCD) += consistent.o 8 8 9 + EXTRA_CFLAGS += -Werror
+2 -1
arch/sh/kernel/Makefile
··· 10 10 11 11 obj-y += cpu/ timers/ 12 12 obj-$(CONFIG_VSYSCALL) += vsyscall/ 13 - 14 13 obj-$(CONFIG_SMP) += smp.o 15 14 obj-$(CONFIG_CF_ENABLER) += cf-enabler.o 16 15 obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o ··· 21 22 obj-$(CONFIG_CRASH_DUMP) += crash_dump.o 22 23 obj-$(CONFIG_PM) += pm.o 23 24 obj-$(CONFIG_STACKTRACE) += stacktrace.o 25 + 26 + EXTRA_CFLAGS += -Werror
+2
arch/sh/lib/Makefile
··· 9 9 memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o 10 10 11 11 lib-y += $(memcpy-y) 12 + 13 + EXTRA_CFLAGS += -Werror
+2
arch/sh/mm/Makefile
··· 33 33 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 34 34 obj-$(CONFIG_32BIT) += pmb.o 35 35 obj-$(CONFIG_NUMA) += numa.o 36 + 37 + EXTRA_CFLAGS += -Werror
+1
arch/sh/oprofile/Makefile
··· 15 15 16 16 oprofile-y := $(DRIVER_OBJS) $(profdrvr-y) 17 17 18 + EXTRA_CFLAGS += -Werror