aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/Makefile.objs')
-rw-r--r--hw/i386/Makefile.objs5
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs
index c1d73a88a6..205d22e4aa 100644
--- a/hw/i386/Makefile.objs
+++ b/hw/i386/Makefile.objs
@@ -1,7 +1,4 @@
-obj-y += kvm/
-
-obj-y := $(addprefix ../,$(obj-y))
-
+obj-$(CONFIG_KVM) += kvm/
obj-y += multiboot.o smbios.o
obj-y += pc.o pc_piix.o pc_q35.o
obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o