blob: 65c47fda26fc5643d67aed5013de8aa8257aac0a [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
2 pat.o pgtable.o physaddr.o gup.o setup_nx.o
3
4# Make sure __phys_addr has no stackprotector
5nostackp := $(call cc-option, -fno-stack-protector)
6CFLAGS_physaddr.o := $(nostackp)
7CFLAGS_setup_nx.o := $(nostackp)
8
9CFLAGS_fault.o := -I$(src)/../include/asm/trace
10
11obj-$(CONFIG_X86_PAT) += pat_rbtree.o
12obj-$(CONFIG_SMP) += tlb.o
13
14obj-$(CONFIG_X86_32) += pgtable_32.o iomap_32.o
15
16obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
17obj-$(CONFIG_X86_PTDUMP_CORE) += dump_pagetables.o
18
19obj-$(CONFIG_HIGHMEM) += highmem_32.o
20
21obj-$(CONFIG_KMEMCHECK) += kmemcheck/
22
23KASAN_SANITIZE_kasan_init_$(BITS).o := n
24obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o
25
26obj-$(CONFIG_MMIOTRACE) += mmiotrace.o
27mmiotrace-y := kmmio.o pf_in.o mmio-mod.o
28obj-$(CONFIG_MMIOTRACE_TEST) += testmmiotrace.o
29
30obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o
31obj-$(CONFIG_AMD_NUMA) += amdtopology.o
32obj-$(CONFIG_ACPI_NUMA) += srat.o
33obj-$(CONFIG_NUMA_EMU) += numa_emulation.o
34
35obj-$(CONFIG_X86_INTEL_MPX) += mpx.o