aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/kvm/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/kvm/Makefile.objs')
-rw-r--r--hw/i386/kvm/Makefile.objs6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/i386/kvm/Makefile.objs b/hw/i386/kvm/Makefile.objs
index 4224ed9..0c8d5f2 100644
--- a/hw/i386/kvm/Makefile.objs
+++ b/hw/i386/kvm/Makefile.objs
@@ -1 +1,5 @@
-obj-y += clock.o apic.o i8259.o ioapic.o i8254.o
+obj-y += clock.o
+obj-$(CONFIG_APIC) += apic.o
+obj-$(CONFIG_IOAPIC) += ioapic.o
+obj-$(CONFIG_I8254) += i8254.o
+obj-$(CONFIG_I8259) += i8259.o