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>
This commit is contained in:
parent
49dfe94fe5
commit
3644a35b02
|
@ -9,8 +9,7 @@ ifeq ($(plus_virt),+virt)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ccflags-y += -Iarch/arm/kvm -Ivirt/kvm/arm/vgic
|
ccflags-y += -Iarch/arm/kvm -Ivirt/kvm/arm/vgic
|
||||||
CFLAGS_arm.o := -I. $(plus_virt_def)
|
CFLAGS_arm.o := $(plus_virt_def)
|
||||||
CFLAGS_mmu.o := -I.
|
|
||||||
|
|
||||||
AFLAGS_init.o := -Wa,-march=armv7-a$(plus_virt)
|
AFLAGS_init.o := -Wa,-march=armv7-a$(plus_virt)
|
||||||
AFLAGS_interrupts.o := -Wa,-march=armv7-a$(plus_virt)
|
AFLAGS_interrupts.o := -Wa,-march=armv7-a$(plus_virt)
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic
|
ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic
|
||||||
CFLAGS_arm.o := -I.
|
|
||||||
CFLAGS_mmu.o := -I.
|
|
||||||
|
|
||||||
KVM=../../../virt/kvm
|
KVM=../../../virt/kvm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue