Skip to content

Commit

Permalink
sh: Add -Werror for clean directories.
Browse files Browse the repository at this point in the history
Follow the MIPS and sparc64 changes for -Werror instrumentation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Nov 7, 2007
1 parent 808bde2 commit 98366c2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/sh/cchips/hd6446x/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
obj-$(CONFIG_HD64461) += hd64461.o
obj-$(CONFIG_HD64465) += hd64465/

EXTRA_CFLAGS += -Werror
1 change: 1 addition & 0 deletions arch/sh/cchips/voyagergx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ obj-y := irq.o setup.o

obj-$(CONFIG_USB_OHCI_HCD) += consistent.o

EXTRA_CFLAGS += -Werror
3 changes: 2 additions & 1 deletion arch/sh/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 2 additions & 0 deletions arch/sh/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ memcpy-y := memcpy.o
memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o

lib-y += $(memcpy-y)

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/sh/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ endif
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
obj-$(CONFIG_32BIT) += pmb.o
obj-$(CONFIG_NUMA) += numa.o

EXTRA_CFLAGS += -Werror
1 change: 1 addition & 0 deletions arch/sh/oprofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o

oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)

EXTRA_CFLAGS += -Werror

0 comments on commit 98366c2

Please sign in to comment.