Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Kernel does not boot with instrumentation of tlb.c.
  2. KCOV_INSTRUMENT_tlb.o := n
  3. obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
  4. pat.o pgtable.o physaddr.o gup.o setup_nx.o tlb.o
  5. # Make sure __phys_addr has no stackprotector
  6. nostackp := $(call cc-option, -fno-stack-protector)
  7. CFLAGS_physaddr.o := $(nostackp)
  8. CFLAGS_setup_nx.o := $(nostackp)
  9. CFLAGS_fault.o := -I$(src)/../include/asm/trace
  10. obj-$(CONFIG_X86_PAT) += pat_rbtree.o
  11. obj-$(CONFIG_X86_32) += pgtable_32.o iomap_32.o
  12. obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
  13. obj-$(CONFIG_X86_PTDUMP_CORE) += dump_pagetables.o
  14. obj-$(CONFIG_X86_PTDUMP) += debug_pagetables.o
  15. obj-$(CONFIG_HIGHMEM) += highmem_32.o
  16. obj-$(CONFIG_KMEMCHECK) += kmemcheck/
  17. KASAN_SANITIZE_kasan_init_$(BITS).o := n
  18. obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o
  19. obj-$(CONFIG_MMIOTRACE) += mmiotrace.o
  20. mmiotrace-y := kmmio.o pf_in.o mmio-mod.o
  21. obj-$(CONFIG_MMIOTRACE_TEST) += testmmiotrace.o
  22. obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o
  23. obj-$(CONFIG_AMD_NUMA) += amdtopology.o
  24. obj-$(CONFIG_ACPI_NUMA) += srat.o
  25. obj-$(CONFIG_NUMA_EMU) += numa_emulation.o
  26. obj-$(CONFIG_X86_INTEL_MPX) += mpx.o
  27. obj-$(CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS) += pkeys.o
  28. obj-$(CONFIG_RANDOMIZE_MEMORY) += kaslr.o
  29. obj-$(CONFIG_PAGE_TABLE_ISOLATION) += kaiser.o