diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-12 18:10:35 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:33:50 +0100 |
commit | 6c730e4af9b64b6c83b233f285ec3649747f7eda (patch) | |
tree | 239d50e5eaceb574dd36ec0a1df899e111c07bc1 /hw/i386/Makefile.objs | |
parent | e0c0965f0739becb2942b0866d520d80366c2f65 (diff) |
pc: stubify x86 iommu
Allow building microvm without x86-iommu.c.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/Makefile.objs')
-rw-r--r-- | hw/i386/Makefile.objs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs index 01ae2028e2..1236c3b95c 100644 --- a/hw/i386/Makefile.objs +++ b/hw/i386/Makefile.objs @@ -6,7 +6,8 @@ obj-$(CONFIG_I440FX) += pc_piix.o obj-$(CONFIG_Q35) += pc_q35.o obj-$(CONFIG_MICROVM) += microvm.o obj-y += fw_cfg.o -obj-y += x86-iommu.o +obj-$(CONFIG_X86_IOMMU) += x86-iommu.o +obj-$(call lnot,$(CONFIG_X86_IOMMU)) += x86-iommu-stub.o obj-$(CONFIG_VTD) += intel_iommu.o obj-$(CONFIG_AMD_IOMMU) += amd_iommu.o obj-$(CONFIG_XEN) += ../xenpv/ xen/ |