blob: 084de77a109e89f218b6ccd8dd61a383a46ddab3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Josh Poimboeufc207aee2017-06-28 10:11:06 -05002OBJECT_FILES_NON_STANDARD_xen-asm_$(BITS).o := y
Josh Poimboeufc207aee2017-06-28 10:11:06 -05003
Steven Rostedt606576c2008-10-06 19:06:12 -04004ifdef CONFIG_FUNCTION_TRACER
Jeremy Fitzhardinged5de8842008-07-23 13:28:58 -07005# Do not profile debug and lowlevel utilities
6CFLAGS_REMOVE_spinlock.o = -pg
7CFLAGS_REMOVE_time.o = -pg
Jeremy Fitzhardinge0d1edf42008-07-28 11:53:57 -07008CFLAGS_REMOVE_irq.o = -pg
Jeremy Fitzhardinged5de8842008-07-23 13:28:58 -07009endif
10
Jeremy Fitzhardingece2eef32009-08-17 12:26:53 -070011# Make sure early boot has no stackprotector
12nostackp := $(call cc-option, -fno-stack-protector)
Vitaly Kuznetsove1dab142017-03-14 18:35:41 +010013CFLAGS_enlighten_pv.o := $(nostackp)
Juergen Gross28c11b02018-08-28 09:40:12 +020014CFLAGS_mmu_pv.o := $(nostackp)
Jeremy Fitzhardingece2eef32009-08-17 12:26:53 -070015
Juergen Gross28c11b02018-08-28 09:40:12 +020016obj-y += enlighten.o
Juergen Gross28c11b02018-08-28 09:40:12 +020017obj-y += mmu.o
18obj-y += time.o
19obj-y += grant-table.o
20obj-y += suspend.o
Jeremy Fitzhardingeb3c4b982011-07-25 15:51:02 -070021
Juergen Gross28c11b02018-08-28 09:40:12 +020022obj-$(CONFIG_XEN_PVHVM) += enlighten_hvm.o
23obj-$(CONFIG_XEN_PVHVM) += mmu_hvm.o
24obj-$(CONFIG_XEN_PVHVM) += suspend_hvm.o
Juergen Gross3013c2b2018-08-28 09:40:14 +020025obj-$(CONFIG_XEN_PVHVM) += platform-pci-unplug.o
Vitaly Kuznetsov481d6632017-03-14 18:35:39 +010026
Juergen Gross28c11b02018-08-28 09:40:12 +020027obj-$(CONFIG_XEN_PV) += setup.o
28obj-$(CONFIG_XEN_PV) += apic.o
29obj-$(CONFIG_XEN_PV) += pmu.o
30obj-$(CONFIG_XEN_PV) += suspend_pv.o
31obj-$(CONFIG_XEN_PV) += p2m.o
32obj-$(CONFIG_XEN_PV) += enlighten_pv.o
33obj-$(CONFIG_XEN_PV) += mmu_pv.o
34obj-$(CONFIG_XEN_PV) += irq.o
Juergen Grossf030aad2018-08-28 09:40:13 +020035obj-$(CONFIG_XEN_PV) += multicalls.o
Juergen Gross28c11b02018-08-28 09:40:12 +020036obj-$(CONFIG_XEN_PV) += xen-asm.o
37obj-$(CONFIG_XEN_PV) += xen-asm_$(BITS).o
38
Maran Wilson4df73632018-12-10 11:08:44 -080039obj-$(CONFIG_XEN_PVH) += enlighten_pvh.o
40
Juergen Gross28c11b02018-08-28 09:40:12 +020041obj-$(CONFIG_EVENT_TRACING) += trace.o
Jeremy Fitzhardingef87e4ca2007-07-17 18:37:06 -070042
Vitaly Kuznetsov33af7462017-03-14 18:35:55 +010043obj-$(CONFIG_SMP) += smp.o
44obj-$(CONFIG_XEN_PV_SMP) += smp_pv.o
Vitaly Kuznetsova52482d2017-03-14 18:35:45 +010045obj-$(CONFIG_XEN_PVHVM_SMP) += smp_hvm.o
Juergen Gross28c11b02018-08-28 09:40:12 +020046
Jeremy Fitzhardingeb4ecc122009-05-13 17:16:55 -070047obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
Juergen Gross28c11b02018-08-28 09:40:12 +020048
Jeremy Fitzhardingeb4ecc122009-05-13 17:16:55 -070049obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o
Juergen Gross28c11b02018-08-28 09:40:12 +020050
Jason A. Donenfeldfc5fee82015-08-10 15:40:27 +020051obj-$(CONFIG_XEN_DOM0) += vga.o
Juergen Gross28c11b02018-08-28 09:40:12 +020052
Konrad Rzeszutek Wilkbbbe5732010-02-09 14:30:55 -050053obj-$(CONFIG_SWIOTLB_XEN) += pci-swiotlb-xen.o
Juergen Gross28c11b02018-08-28 09:40:12 +020054
Daniel Kiperc7341d62014-07-12 23:09:48 +020055obj-$(CONFIG_XEN_EFI) += efi.o