2 # Makefile for the linux x86_64-specific parts of the memory manager.
5 XENARCH := $(subst ",,$(CONFIG_XENARCH))
7 CFLAGS += -Iarch/$(XENARCH)/mm
9 obj-y := init.o fault.o ioremap.o pageattr.o hypervisor.o
12 #obj-y := init.o fault.o ioremap.o extable.o pageattr.o
13 #c-obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
14 c-obj-$(CONFIG_DISCONTIGMEM) += numa.o
15 c-obj-$(CONFIG_K8_NUMA) += k8topology.o
17 hugetlbpage-y = ../../../i386/mm/hugetlbpage.o
21 $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-link)):
22 @ln -fsn $(srctree)/arch/x86_64/mm/$(notdir $@) $@
26 clean-files += $(patsubst %.o,%.c,$(c-obj-y) $(c-obj-) $(c-link))