mips: replace deprecated EXTRA_CFLAGS with ccflags-y
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 31 Mar 2021 15:06:56 +0000 (00:06 +0900)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 22 Jul 2021 09:56:25 +0000 (11:56 +0200)
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>
arch/mips/kvm/Makefile

index c67250a..18c69ef 100644 (file)
@@ -4,7 +4,7 @@
 
 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o eventfd.o binary_stats.o)
 
-EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
+ccflags-y += -Ivirt/kvm -Iarch/mips/kvm
 
 common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o