blob: b3aaadc60ead134ecc30afc0327bfeed4e5dafa5 [file] [log] [blame]
Greg Kroah-Hartmand809aa22017-11-24 15:00:33 +01001# SPDX-License-Identifier: GPL-2.0
Heiko Carstensb0c632d2008-03-25 18:47:20 +01002# Makefile for kernel virtual machines on s390
3#
4# Copyright IBM Corp. 2008
Heiko Carstensb0c632d2008-03-25 18:47:20 +01005
Marc Zyngier535cf7b2013-05-14 14:31:02 +01006KVM := ../../../virt/kvm
Jing Zhangcb082bf2021-06-18 22:27:04 +00007common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o \
8 $(KVM)/irqchip.o $(KVM)/vfio.o $(KVM)/binary_stats.o
Heiko Carstensb0c632d2008-03-25 18:47:20 +01009
matt mooneyc73028a2011-01-14 06:12:32 -080010ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
Heiko Carstensb0c632d2008-03-25 18:47:20 +010011
Heiko Carstens22938972014-01-01 16:26:52 +010012kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
Janosch Frank29b40f12019-09-30 04:19:18 -040013kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o
Heiko Carstens22938972014-01-01 16:26:52 +010014
Heiko Carstensb0c632d2008-03-25 18:47:20 +010015obj-$(CONFIG_KVM) += kvm.o