KVM: s390: Use Makefile.kvm for common files
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Message-Id: <20211121125451.9489-4-dwmw2@infradead.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
6f2cdbdba4
commit
f786ab1bf1
@ -3,13 +3,11 @@
|
|||||||
#
|
#
|
||||||
# Copyright IBM Corp. 2008
|
# Copyright IBM Corp. 2008
|
||||||
|
|
||||||
KVM := ../../../virt/kvm
|
include $(srctree)/virt/kvm/Makefile.kvm
|
||||||
common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o \
|
|
||||||
$(KVM)/irqchip.o $(KVM)/vfio.o $(KVM)/binary_stats.o
|
|
||||||
|
|
||||||
ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
|
ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
|
||||||
|
|
||||||
kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
|
kvm-y += kvm-s390.o intercept.o interrupt.o priv.o sigp.o
|
||||||
kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o
|
kvm-y += diag.o gaccess.o guestdbg.o vsie.o pv.o
|
||||||
|
|
||||||
obj-$(CONFIG_KVM) += kvm.o
|
obj-$(CONFIG_KVM) += kvm.o
|
||||||
|
Reference in New Issue
Block a user