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

mips: replace deprecated EXTRA_CFLAGS with ccflags-y

As Documentation/kbuild/makefiles.rst says, EXTRA_CFLAGS is deprecated.
Replace it with ccflags-y.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Masahiro Yamada and committed by
Thomas Bogendoerfer
d17eef27 73b9919f

+1 -1
+1 -1
arch/mips/kvm/Makefile
··· 4 4 5 5 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o eventfd.o binary_stats.o) 6 6 7 - EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm 7 + ccflags-y += -Ivirt/kvm -Iarch/mips/kvm 8 8 9 9 common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o 10 10