summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-25 16:57:29 +0900
committerMarc Zyngier <marc.zyngier@arm.com>2019-02-19 21:05:52 +0000
commit3644a35b0244ddaeafa170a371144c4f12682c98 (patch)
tree80f498e5a4922d604e7a0b502182b488b3564dcd /arch/arm64
parent49dfe94fe5ad97d380f81544b6d3626b076a1ef6 (diff)
downloadlinux-0-day-3644a35b0244ddaeafa170a371144c4f12682c98.tar.gz
linux-0-day-3644a35b0244ddaeafa170a371144c4f12682c98.tar.xz
KVM: arm/arm64: Remove -I. header search paths
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. I was able to build without these extra header search paths. Acked-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kvm/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kvm/Makefile b/arch/arm64/kvm/Makefile
index 0f2a135ba15bb..3089b3159135c 100644
--- a/arch/arm64/kvm/Makefile
+++ b/arch/arm64/kvm/Makefile
@@ -4,8 +4,6 @@
#
ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic
-CFLAGS_arm.o := -I.
-CFLAGS_mmu.o := -I.
KVM=../../../virt/kvm