David Woodhouse | 6f2cdbd | 2021-11-21 12:54:41 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # Makefile for Kernel-based Virtual Machine module |
| 4 | # |
| 5 | |
| 6 | KVM ?= ../../../virt/kvm |
| 7 | |
| 8 | kvm-y := $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/binary_stats.o |
| 9 | kvm-$(CONFIG_KVM_VFIO) += $(KVM)/vfio.o |
| 10 | kvm-$(CONFIG_KVM_MMIO) += $(KVM)/coalesced_mmio.o |
| 11 | kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o |
| 12 | kvm-$(CONFIG_HAVE_KVM_IRQ_ROUTING) += $(KVM)/irqchip.o |
| 13 | kvm-$(CONFIG_HAVE_KVM_DIRTY_RING) += $(KVM)/dirty_ring.o |
David Woodhouse | 982ed0d | 2021-12-10 16:36:21 +0000 | [diff] [blame] | 14 | kvm-$(CONFIG_HAVE_KVM_PFNCACHE) += $(KVM)/pfncache.o |