[PATCH 3/7] KVM: s390: Use Makefile.kvm for common files
Christian Borntraeger
borntraeger at de.ibm.com
Tue Nov 16 23:29:45 PST 2021
Am 16.11.21 um 12:50 schrieb David Woodhouse:
> From: David Woodhouse <dwmw at amazon.co.uk>
>
> Signed-off-by: David Woodhouse <dwmw at amazon.co.uk>
Looks good.
Reviewed-by: Christian Borntraeger <borntraeger at de.ibm.com>
> ---
> arch/s390/kvm/Makefile | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/arch/s390/kvm/Makefile b/arch/s390/kvm/Makefile
> index b3aaadc60ead..e4f50453cf7f 100644
> --- a/arch/s390/kvm/Makefile
> +++ b/arch/s390/kvm/Makefile
> @@ -3,13 +3,11 @@
> #
> # Copyright IBM Corp. 2008
>
> -KVM := ../../../virt/kvm
> -common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o \
> - $(KVM)/irqchip.o $(KVM)/vfio.o $(KVM)/binary_stats.o
> +include $(srctree)/virt/kvm/Makefile.kvm
>
> ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
>
> -kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
> +kvm-objs := kvm-s390.o intercept.o interrupt.o priv.o sigp.o
> kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o
>
> obj-$(CONFIG_KVM) += kvm.o
>
More information about the linux-arm-kernel
mailing list