Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 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 | |
Marc Zyngier | 535cf7b | 2013-05-14 14:31:02 +0100 | [diff] [blame] | 9 | KVM := ../../../virt/kvm |
Dong Jia Shi | 14b0b4a | 2016-01-20 06:33:42 +0100 | [diff] [blame] | 10 | common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o $(KVM)/irqchip.o $(KVM)/vfio.o |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 11 | |
matt mooney | c73028a | 2011-01-14 06:12:32 -0800 | [diff] [blame] | 12 | ccflags-y := -Ivirt/kvm -Iarch/s390/kvm |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 13 | |
Heiko Carstens | 2293897 | 2014-01-01 16:26:52 +0100 | [diff] [blame] | 14 | kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o |
David Hildenbrand | 27291e2 | 2014-01-23 12:26:52 +0100 | [diff] [blame] | 15 | kvm-objs += diag.o gaccess.o guestdbg.o |
Heiko Carstens | 2293897 | 2014-01-01 16:26:52 +0100 | [diff] [blame] | 16 | |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 17 | obj-$(CONFIG_KVM) += kvm.o |