diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-12 11:52:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:32:49 +0100 |
commit | feab2124a68ded981a3df60959df820d7a795687 (patch) | |
tree | 7896db24b5de81e13bf35f7bd7444d8475e54de3 /hw/i386/kvm | |
parent | 21c6b0c87e85d952d3d0e569388526f03ad48576 (diff) |
i386: conditionally compile more files
Reviewed-by: Sergio Lopez <slp@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/kvm')
-rw-r--r-- | hw/i386/kvm/Makefile.objs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/i386/kvm/Makefile.objs b/hw/i386/kvm/Makefile.objs index 4224ed900e..0c8d5f2dee 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 |