2017-07-03 13:12:23 +03:00
|
|
|
obj-y += helper.o cpu.o gdbstub.o xsave_helper.o
|
|
|
|
obj-$(CONFIG_TCG) += translate.o
|
|
|
|
obj-$(CONFIG_TCG) += bpt_helper.o cc_helper.o excp_helper.o fpu_helper.o
|
|
|
|
obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o mpx_helper.o
|
|
|
|
obj-$(CONFIG_TCG) += seg_helper.o smm_helper.o svm_helper.o
|
2018-09-21 11:20:41 +03:00
|
|
|
ifeq ($(CONFIG_SOFTMMU),y)
|
|
|
|
obj-y += machine.o arch_memory_mapping.o arch_dump.o monitor.o
|
|
|
|
obj-$(CONFIG_KVM) += kvm.o
|
2013-09-13 21:25:53 +04:00
|
|
|
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
|
2018-09-21 11:20:41 +03:00
|
|
|
obj-$(CONFIG_HYPERV) += hyperv.o
|
|
|
|
obj-$(call lnot,$(CONFIG_HYPERV)) += hyperv-stub.o
|
|
|
|
ifeq ($(CONFIG_WIN32),y)
|
2017-01-10 13:59:57 +03:00
|
|
|
obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-windows.o
|
|
|
|
endif
|
2018-09-21 11:20:41 +03:00
|
|
|
ifeq ($(CONFIG_DARWIN),y)
|
2017-01-10 13:59:58 +03:00
|
|
|
obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-darwin.o
|
2017-10-03 16:33:29 +03:00
|
|
|
obj-$(CONFIG_HVF) += hvf/
|
2017-01-10 13:59:58 +03:00
|
|
|
endif
|
2018-01-23 00:07:48 +03:00
|
|
|
obj-$(CONFIG_WHPX) += whpx-all.o
|
2018-09-21 11:20:41 +03:00
|
|
|
endif
|
|
|
|
obj-$(CONFIG_SEV) += sev.o
|
|
|
|
obj-$(call lnot,$(CONFIG_SEV)) += sev-stub.o
|