Skip to contentSkip to conversation

sh: change to new flag variable

PATCH Applied matt mooney 2 participants 2 messages Sep 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 14/20 sh: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.

---
 arch/sh/cchips/hd6446x/Makefile |    2 +-
 arch/sh/kernel/Makefile         |    2 +-
 arch/sh/lib/Makefile            |    2 +-
 arch/sh/mm/Makefile             |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/sh/cchips/hd6446x/Makefile +1 -1
index 9682e3a..59c3483 100644
@@ -1,3 +1,3 @@
 obj-$(CONFIG_HD64461)	+= hd64461.o
 
-EXTRA_CFLAGS += -Werror
+ccflags-y := -Werror
arch/sh/kernel/Makefile +1 -1
index e25f3c6..b308391 100644
@@ -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
arch/sh/lib/Makefile +1 -1
index dab4d21..7b95f29 100644
@@ -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
arch/sh/mm/Makefile +1 -1
index 53f7c68..939663c 100644
@@ -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
Signature · 1 line
1.7.2.1