xref: /openbmc/linux/virt/kvm/Makefile.kvm (revision 2cf1c348)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module
4#
5
6KVM ?= ../../../virt/kvm
7
8kvm-y := $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/binary_stats.o
9kvm-$(CONFIG_KVM_VFIO) += $(KVM)/vfio.o
10kvm-$(CONFIG_KVM_MMIO) += $(KVM)/coalesced_mmio.o
11kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o
12kvm-$(CONFIG_HAVE_KVM_IRQ_ROUTING) += $(KVM)/irqchip.o
13kvm-$(CONFIG_HAVE_KVM_DIRTY_RING) += $(KVM)/dirty_ring.o
14kvm-$(CONFIG_HAVE_KVM_PFNCACHE) += $(KVM)/pfncache.o
15