sh: change to new flag variable
authormatt mooney <mfm@muteddisk.com>
Thu, 23 Sep 2010 06:51:21 +0000 (06:51 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 23 Sep 2010 07:18:18 +0000 (16:18 +0900)
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/cchips/hd6446x/Makefile
arch/sh/kernel/Makefile
arch/sh/lib/Makefile
arch/sh/mm/Makefile

index 9682e3a..59c3483 100644 (file)
@@ -1,3 +1,3 @@
 obj-$(CONFIG_HD64461)  += hd64461.o
 
-EXTRA_CFLAGS += -Werror
+ccflags-y := -Werror
index 1086ba1..a1effb6 100644 (file)
@@ -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
index dab4d21..7b95f29 100644 (file)
@@ -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
index 53f7c68..939663c 100644 (file)
@@ -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