xref: /linux/arch/s390/kvm/Makefile (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1# Makefile for kernel virtual machines on s390
2#
3# Copyright IBM Corp. 2008
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License (version 2 only)
7# as published by the Free Software Foundation.
8
9KVM := ../../../virt/kvm
10common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o  $(KVM)/async_pf.o $(KVM)/irqchip.o $(KVM)/vfio.o
11
12ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
13
14kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
15kvm-objs += diag.o gaccess.o guestdbg.o sthyi.o vsie.o
16
17obj-$(CONFIG_KVM) += kvm.o
18