Browse Source

sh: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
matt mooney 15 years ago
parent
commit
a234ca0faa
4 changed files with 4 additions and 4 deletions
  1. 1 1
      arch/sh/cchips/hd6446x/Makefile
  2. 1 1
      arch/sh/kernel/Makefile
  3. 1 1
      arch/sh/lib/Makefile
  4. 1 1
      arch/sh/mm/Makefile

+ 1 - 1
arch/sh/cchips/hd6446x/Makefile

@@ -1,3 +1,3 @@
 obj-$(CONFIG_HD64461)	+= hd64461.o
 
-EXTRA_CFLAGS += -Werror
+ccflags-y := -Werror

+ 1 - 1
arch/sh/kernel/Makefile

@@ -44,4 +44,4 @@ obj-$(CONFIG_HAS_IOPORT)	+= io_generic.o
 obj-$(CONFIG_HAVE_HW_BREAKPOINT)		+= hw_breakpoint.o
 obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)	+= localtimer.o
 
-EXTRA_CFLAGS += -Werror
+ccflags-y := -Werror

+ 1 - 1
arch/sh/lib/Makefile

@@ -30,4 +30,4 @@ lib-$(CONFIG_MMU)		+= copy_page.o __clear_user.o
 lib-$(CONFIG_MCOUNT)		+= mcount.o
 lib-y				+= $(memcpy-y) $(memset-y) $(udivsi3-y)
 
-EXTRA_CFLAGS += -Werror
+ccflags-y := -Werror

+ 1 - 1
arch/sh/mm/Makefile

@@ -66,4 +66,4 @@ CFLAGS_fault_64.o += -ffixed-r7 \
 	-ffixed-r60 -ffixed-r61 -ffixed-r62 \
 	-fomit-frame-pointer
 
-EXTRA_CFLAGS += -Werror
+ccflags-y := -Werror