2 # Makefile for the linux arm-specific parts of the memory manager.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definition is now in the main makefile...
10 USE_STANDARD_AS_RULE := true
16 obj-y := init.o extable.o fault-common.o
20 export-objs := proc-syms.o discontig.o
22 ifeq ($(CONFIG_CPU_32),y)
23 obj-y += consistent.o fault-armv.o ioremap.o mm-armv.o
24 obj-$(CONFIG_MODULES) += proc-syms.o
27 obj-$(CONFIG_CPU_26) += fault-armo.o mm-armo.o small_page.o
29 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
30 obj-$(CONFIG_DISCONTIGMEM) += discontig.o
32 # Select the processor-specific files
33 p-$(CONFIG_CPU_26) += proc-arm2,3.o
34 p-$(CONFIG_CPU_ARM610) += proc-arm6,7.o
35 p-$(CONFIG_CPU_ARM710) += proc-arm6,7.o
36 p-$(CONFIG_CPU_ARM720T) += proc-arm720.o
37 p-$(CONFIG_CPU_ARM920T) += proc-arm920.o
38 p-$(CONFIG_CPU_ARM922T) += proc-arm922.o
39 p-$(CONFIG_CPU_ARM925T) += proc-arm925.o
40 p-$(CONFIG_CPU_ARM926T) += proc-arm926.o
41 p-$(CONFIG_CPU_ARM1020) += proc-arm1020.o
42 p-$(CONFIG_CPU_ARM1026) += proc-arm1026.o
43 p-$(CONFIG_CPU_SA110) += proc-sa110.o
44 p-$(CONFIG_CPU_SA1100) += proc-sa110.o
46 # Integrator follows "new style"
47 # Soon, others will do too, and we can get rid of this
48 MMMACH := mm-$(MACHINE).c
49 ifeq ($(MMMACH),$(wildcard $(MMMACH)))
50 obj-$(CONFIG_CPU_32) += $(MMMACH:.c=.o)
53 obj-y += $(sort $(p-y))
55 include $(TOPDIR)/Rules.make
57 # Special dependencies
58 $(p-y): $(TOPDIR)/include/asm-arm/constants.h