1# Kernel does not boot with instrumentation of tlb.c and mem_encrypt.c 2KCOV_INSTRUMENT_tlb.o := n 3KCOV_INSTRUMENT_mem_encrypt.o := n 4 5KASAN_SANITIZE_mem_encrypt.o := n 6 7ifdef CONFIG_FUNCTION_TRACER 8CFLAGS_REMOVE_mem_encrypt.o = -pg 9endif 10 11obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \ 12 pat.o pgtable.o physaddr.o setup_nx.o tlb.o 13 14# Make sure __phys_addr has no stackprotector 15nostackp := $(call cc-option, -fno-stack-protector) 16CFLAGS_physaddr.o := $(nostackp) 17CFLAGS_setup_nx.o := $(nostackp) 18 19CFLAGS_fault.o := -I$(src)/../include/asm/trace 20 21obj-$(CONFIG_X86_PAT) += pat_rbtree.o 22 23obj-$(CONFIG_X86_32) += pgtable_32.o iomap_32.o 24 25obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 26obj-$(CONFIG_X86_PTDUMP_CORE) += dump_pagetables.o 27obj-$(CONFIG_X86_PTDUMP) += debug_pagetables.o 28 29obj-$(CONFIG_HIGHMEM) += highmem_32.o 30 31obj-$(CONFIG_KMEMCHECK) += kmemcheck/ 32 33KASAN_SANITIZE_kasan_init_$(BITS).o := n 34obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o 35 36obj-$(CONFIG_MMIOTRACE) += mmiotrace.o 37mmiotrace-y := kmmio.o pf_in.o mmio-mod.o 38obj-$(CONFIG_MMIOTRACE_TEST) += testmmiotrace.o 39 40obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o 41obj-$(CONFIG_AMD_NUMA) += amdtopology.o 42obj-$(CONFIG_ACPI_NUMA) += srat.o 43obj-$(CONFIG_NUMA_EMU) += numa_emulation.o 44 45obj-$(CONFIG_X86_INTEL_MPX) += mpx.o 46obj-$(CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS) += pkeys.o 47obj-$(CONFIG_RANDOMIZE_MEMORY) += kaslr.o 48 49obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt.o 50obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_boot.o 51