Greg Kroah-Hartman | d809aa2 | 2017-11-24 15:00:33 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 2 | # Makefile for kernel virtual machines on s390 |
| 3 | # |
| 4 | # Copyright IBM Corp. 2008 |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 5 | |
Marc Zyngier | 535cf7b | 2013-05-14 14:31:02 +0100 | [diff] [blame] | 6 | KVM := ../../../virt/kvm |
Jing Zhang | cb082bf | 2021-06-18 22:27:04 +0000 | [diff] [blame] | 7 | common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o \ |
| 8 | $(KVM)/irqchip.o $(KVM)/vfio.o $(KVM)/binary_stats.o |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 9 | |
matt mooney | c73028a | 2011-01-14 06:12:32 -0800 | [diff] [blame] | 10 | ccflags-y := -Ivirt/kvm -Iarch/s390/kvm |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 11 | |
Heiko Carstens | 2293897 | 2014-01-01 16:26:52 +0100 | [diff] [blame] | 12 | kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o |
Janosch Frank | 29b40f1 | 2019-09-30 04:19:18 -0400 | [diff] [blame] | 13 | kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o |
Heiko Carstens | 2293897 | 2014-01-01 16:26:52 +0100 | [diff] [blame] | 14 | |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_KVM) += kvm.o |