Skip to content

Commit

Permalink
[MIPS] Use -Werror on subdirectories which build cleanly.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Jul 31, 2007
1 parent e9c227f commit dde96ca
Show file tree
Hide file tree
Showing 27 changed files with 53 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/mips/au1000/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ obj-y += prom.o irq.o puts.o time.o reset.o \

obj-$(CONFIG_KGDB) += dbg_io.o
obj-$(CONFIG_PCI) += pci.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/cobalt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ obj-y := buttons.o irq.o reset.o rtc.o serial.o setup.o
obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_EARLY_PRINTK) += console.o
obj-$(CONFIG_MTD_PHYSMAP) += mtd.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/ddb5xxx/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
#

obj-y += nile4.o prom.o rtc_ds1386.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/ddb5xxx/ddb5477/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ obj-y += ddb5477-platform.o irq.o irq_5477.o setup.o \

obj-$(CONFIG_RUNTIME_DEBUG) += debug.o
obj-$(CONFIG_KGDB) += kgdb_io.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/dec/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ obj-y := ecc-berr.o int-handler.o ioasic-irq.o kn01-berr.o \
obj-$(CONFIG_PROM_CONSOLE) += promcon.o
obj-$(CONFIG_TC) += tc.o
obj-$(CONFIG_CPU_HAS_WB) += wbflush.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/gt64120/wrppmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
#

obj-y += irq.o reset.o setup.o time.o pci.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/jazz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
#

obj-y := irq.o jazzdma.o jazz-platform.o reset.o setup.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/jmr3927/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
#

obj-y += prom.o puts.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/jmr3927/rbhma3100/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@

obj-y += init.o irq.o setup.o
obj-$(CONFIG_KGDB) += kgdb_io.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi)

obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o

EXTRA_CFLAGS += -Werror
3 changes: 2 additions & 1 deletion arch/mips/lemote/lm2e/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
#

obj-y += setup.o prom.o reset.o irq.o pci.o bonito-irq.o dbg_io.o mem.o
EXTRA_AFLAGS := $(CFLAGS)

EXTRA_AFLAGS := $(CFLAGS)
EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/math-emu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ obj-y := cp1emu.o ieee754m.o ieee754d.o ieee754dp.o ieee754sp.o ieee754.o \
sp_div.o sp_mul.o sp_sub.o sp_add.o sp_fdp.o sp_cmp.o sp_logb.o \
sp_scalb.o sp_simple.o sp_tint.o sp_fint.o sp_tlong.o sp_flong.o \
dp_sqrt.o sp_sqrt.o kernel_linkage.o dsemul.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/mips-boards/atlas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@

obj-y := atlas_int.o atlas_setup.o
obj-$(CONFIG_KGDB) += atlas_gdb.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/mips-boards/generic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ obj-y := reset.o display.o init.o memory.o \
obj-$(CONFIG_EARLY_PRINTK) += console.o
obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_KGDB) += gdb_hook.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/mips-boards/malta/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ obj-y := malta_int.o malta_platform.o malta_setup.o

obj-$(CONFIG_MTD) += malta_mtd.o
obj-$(CONFIG_MIPS_MT_SMTC) += malta_smtc.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/mips-boards/sead/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@
#

obj-y := sead_int.o sead_setup.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/mipssim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ obj-y := sim_platform.o sim_setup.o sim_mem.o sim_time.o sim_int.o \

obj-$(CONFIG_EARLY_PRINTK) += sim_console.o
obj-$(CONFIG_SMP) += sim_smp.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o
obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o
obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o
obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/philips/pnx8550/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@
obj-y := setup.o prom.o int.o reset.o time.o proc.o platform.o
obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_KGDB) += gdb_hook.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/qemu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
obj-y = q-firmware.o q-irq.o q-mem.o q-setup.o q-reset.o

obj-$(CONFIG_SMP) += q-smp.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/sgi-ip27/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ obj-y := ip27-berr.o ip27-irq.o ip27-init.o ip27-klconfig.o ip27-klnuma.o \
obj-$(CONFIG_EARLY_PRINTK) += ip27-console.o
obj-$(CONFIG_KGDB) += ip27-dbgio.o
obj-$(CONFIG_SMP) += ip27-smp.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/sgi-ip32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@

obj-y += ip32-berr.o ip32-irq.o ip32-platform.o ip32-setup.o ip32-reset.o \
crime.o ip32-memory.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/sibyte/bcm1480/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
obj-y := setup.o irq.o time.o

obj-$(CONFIG_SMP) += smp.o

EXTRA_CFLAGS += -Werror
1 change: 1 addition & 0 deletions arch/mips/sibyte/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ obj-y :=
obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o

EXTRA_AFLAGS := $(CFLAGS)
EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/sibyte/sb1250/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ obj-y := setup.o irq.o time.o
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_SIBYTE_STANDALONE) += prom.o
obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/sni/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@

obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o
obj-$(CONFIG_CPU_BIG_ENDIAN) += sniprom.o

EXTRA_CFLAGS += -Werror
2 changes: 2 additions & 0 deletions arch/mips/vr41xx/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
#

obj-y += bcu.o cmu.o giu.o icu.o init.o irq.o pmu.o rtc.o siu.o type.o

EXTRA_CFLAGS += -Werror

0 comments on commit dde96ca

Please sign in to comment.