Re: [PATCH] KVM: make: Fix out-of-source module builds

2021-03-26 Thread Paolo Bonzini
On 24/03/21 13:43, Siddharth Chandrasekaran wrote: Building kvm module out-of-source with, make -C $SRC O=$BIN M=arch/x86/kvm fails to find "irq.h" as the include dir passed to cflags-y does not prefix the source dir. Fix this by prefixing $(srctree) to the include dir path. Signed-off-by

[PATCH] KVM: make: Fix out-of-source module builds

2021-03-24 Thread Siddharth Chandrasekaran
Building kvm module out-of-source with, make -C $SRC O=$BIN M=arch/x86/kvm fails to find "irq.h" as the include dir passed to cflags-y does not prefix the source dir. Fix this by prefixing $(srctree) to the include dir path. Signed-off-by: Siddharth Chandrasekaran --- arch/x86/kvm/Makefile