Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

matt mooney and committed by
Paul Mundt
a234ca0f 39a90865

+4 -4
+1 -1
arch/sh/cchips/hd6446x/Makefile
··· 1 1 obj-$(CONFIG_HD64461) += hd64461.o 2 2 3 - EXTRA_CFLAGS += -Werror 3 + ccflags-y := -Werror
+1 -1
arch/sh/kernel/Makefile
··· 44 44 obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o 45 45 obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += localtimer.o 46 46 47 - EXTRA_CFLAGS += -Werror 47 + ccflags-y := -Werror
+1 -1
arch/sh/lib/Makefile
··· 30 30 lib-$(CONFIG_MCOUNT) += mcount.o 31 31 lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y) 32 32 33 - EXTRA_CFLAGS += -Werror 33 + ccflags-y := -Werror
+1 -1
arch/sh/mm/Makefile
··· 66 66 -ffixed-r60 -ffixed-r61 -ffixed-r62 \ 67 67 -fomit-frame-pointer 68 68 69 - EXTRA_CFLAGS += -Werror 69 + ccflags-y := -Werror