Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Josh Poimboeuf | c207aee | 2017-06-28 10:11:06 -0500 | [diff] [blame] | 2 | OBJECT_FILES_NON_STANDARD_xen-asm_$(BITS).o := y |
Josh Poimboeuf | c207aee | 2017-06-28 10:11:06 -0500 | [diff] [blame] | 3 | |
Steven Rostedt | 606576c | 2008-10-06 19:06:12 -0400 | [diff] [blame] | 4 | ifdef CONFIG_FUNCTION_TRACER |
Jeremy Fitzhardinge | d5de884 | 2008-07-23 13:28:58 -0700 | [diff] [blame] | 5 | # Do not profile debug and lowlevel utilities |
| 6 | CFLAGS_REMOVE_spinlock.o = -pg |
| 7 | CFLAGS_REMOVE_time.o = -pg |
Jeremy Fitzhardinge | 0d1edf4 | 2008-07-28 11:53:57 -0700 | [diff] [blame] | 8 | CFLAGS_REMOVE_irq.o = -pg |
Jeremy Fitzhardinge | d5de884 | 2008-07-23 13:28:58 -0700 | [diff] [blame] | 9 | endif |
| 10 | |
Jeremy Fitzhardinge | ce2eef3 | 2009-08-17 12:26:53 -0700 | [diff] [blame] | 11 | # Make sure early boot has no stackprotector |
| 12 | nostackp := $(call cc-option, -fno-stack-protector) |
Vitaly Kuznetsov | e1dab14 | 2017-03-14 18:35:41 +0100 | [diff] [blame] | 13 | CFLAGS_enlighten_pv.o := $(nostackp) |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 14 | CFLAGS_mmu_pv.o := $(nostackp) |
Jeremy Fitzhardinge | ce2eef3 | 2009-08-17 12:26:53 -0700 | [diff] [blame] | 15 | |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 16 | obj-y += enlighten.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 17 | obj-y += mmu.o |
| 18 | obj-y += time.o |
| 19 | obj-y += grant-table.o |
| 20 | obj-y += suspend.o |
Jeremy Fitzhardinge | b3c4b98 | 2011-07-25 15:51:02 -0700 | [diff] [blame] | 21 | |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_XEN_PVHVM) += enlighten_hvm.o |
| 23 | obj-$(CONFIG_XEN_PVHVM) += mmu_hvm.o |
| 24 | obj-$(CONFIG_XEN_PVHVM) += suspend_hvm.o |
Juergen Gross | 3013c2b | 2018-08-28 09:40:14 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_XEN_PVHVM) += platform-pci-unplug.o |
Vitaly Kuznetsov | 481d663 | 2017-03-14 18:35:39 +0100 | [diff] [blame] | 26 | |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_XEN_PV) += setup.o |
| 28 | obj-$(CONFIG_XEN_PV) += apic.o |
| 29 | obj-$(CONFIG_XEN_PV) += pmu.o |
| 30 | obj-$(CONFIG_XEN_PV) += suspend_pv.o |
| 31 | obj-$(CONFIG_XEN_PV) += p2m.o |
| 32 | obj-$(CONFIG_XEN_PV) += enlighten_pv.o |
| 33 | obj-$(CONFIG_XEN_PV) += mmu_pv.o |
| 34 | obj-$(CONFIG_XEN_PV) += irq.o |
Juergen Gross | f030aad | 2018-08-28 09:40:13 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_XEN_PV) += multicalls.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 36 | obj-$(CONFIG_XEN_PV) += xen-asm.o |
| 37 | obj-$(CONFIG_XEN_PV) += xen-asm_$(BITS).o |
| 38 | |
Maran Wilson | 4df7363 | 2018-12-10 11:08:44 -0800 | [diff] [blame] | 39 | obj-$(CONFIG_XEN_PVH) += enlighten_pvh.o |
| 40 | |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_EVENT_TRACING) += trace.o |
Jeremy Fitzhardinge | f87e4ca | 2007-07-17 18:37:06 -0700 | [diff] [blame] | 42 | |
Vitaly Kuznetsov | 33af746 | 2017-03-14 18:35:55 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_SMP) += smp.o |
| 44 | obj-$(CONFIG_XEN_PV_SMP) += smp_pv.o |
Vitaly Kuznetsov | a52482d | 2017-03-14 18:35:45 +0100 | [diff] [blame] | 45 | obj-$(CONFIG_XEN_PVHVM_SMP) += smp_hvm.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 46 | |
Jeremy Fitzhardinge | b4ecc12 | 2009-05-13 17:16:55 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 48 | |
Jeremy Fitzhardinge | b4ecc12 | 2009-05-13 17:16:55 -0700 | [diff] [blame] | 49 | obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 50 | |
Jason A. Donenfeld | fc5fee8 | 2015-08-10 15:40:27 +0200 | [diff] [blame] | 51 | obj-$(CONFIG_XEN_DOM0) += vga.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 52 | |
Konrad Rzeszutek Wilk | bbbe573 | 2010-02-09 14:30:55 -0500 | [diff] [blame] | 53 | obj-$(CONFIG_SWIOTLB_XEN) += pci-swiotlb-xen.o |
Juergen Gross | 28c11b0 | 2018-08-28 09:40:12 +0200 | [diff] [blame] | 54 | |
Daniel Kiper | c7341d6 | 2014-07-12 23:09:48 +0200 | [diff] [blame] | 55 | obj-$(CONFIG_XEN_EFI) += efi.o |