Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: GPL-2.0
  2. OBJECT_FILES_NON_STANDARD_xen-asm_$(BITS).o := y
  3. OBJECT_FILES_NON_STANDARD_xen-pvh.o := y
  4. ifdef CONFIG_FUNCTION_TRACER
  5. # Do not profile debug and lowlevel utilities
  6. CFLAGS_REMOVE_spinlock.o = -pg
  7. CFLAGS_REMOVE_time.o = -pg
  8. CFLAGS_REMOVE_irq.o = -pg
  9. endif
  10. # Make sure early boot has no stackprotector
  11. nostackp := $(call cc-option, -fno-stack-protector)
  12. CFLAGS_enlighten_pv.o := $(nostackp)
  13. CFLAGS_mmu_pv.o := $(nostackp)
  14. obj-y := enlighten.o multicalls.o mmu.o irq.o \
  15. time.o xen-asm.o xen-asm_$(BITS).o \
  16. grant-table.o suspend.o platform-pci-unplug.o
  17. obj-$(CONFIG_XEN_PVHVM) += enlighten_hvm.o mmu_hvm.o suspend_hvm.o
  18. obj-$(CONFIG_XEN_PV) += setup.o apic.o pmu.o suspend_pv.o \
  19. p2m.o enlighten_pv.o mmu_pv.o
  20. obj-$(CONFIG_XEN_PVH) += enlighten_pvh.o
  21. obj-$(CONFIG_EVENT_TRACING) += trace.o
  22. obj-$(CONFIG_SMP) += smp.o
  23. obj-$(CONFIG_XEN_PV_SMP) += smp_pv.o
  24. obj-$(CONFIG_XEN_PVHVM_SMP) += smp_hvm.o
  25. obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
  26. obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o
  27. obj-$(CONFIG_XEN_DOM0) += vga.o
  28. obj-$(CONFIG_SWIOTLB_XEN) += pci-swiotlb-xen.o
  29. obj-$(CONFIG_XEN_EFI) += efi.o
  30. obj-$(CONFIG_XEN_PVH) += xen-pvh.o