2 # Makefile for the linux i386-specific parts of the memory manager.
5 XENARCH := $(subst ",,$(CONFIG_XENARCH))
7 CFLAGS += -Iarch/$(XENARCH)/mm
9 obj-y := init.o pgtable.o fault.o ioremap.o hypervisor.o
10 c-obj-y := extable.o mmap.o pageattr.o
12 c-obj-$(CONFIG_DISCONTIGMEM) += discontig.o
13 c-obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
14 obj-$(CONFIG_HIGHMEM) += highmem.o
15 c-obj-$(CONFIG_BOOT_IOREMAP) += boot_ioremap.o
19 $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-link)):
20 @ln -fsn $(srctree)/arch/i386/mm/$(notdir $@) $@
24 clean-files += $(patsubst %.o,%.c,$(c-obj-y) $(c-obj-) $(c-link))