import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / arm / mm / Makefile
1 #
2 # Makefile for the linux arm-specific parts of the memory manager.
3 #
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).
7 #
8 # Note 2! The CFLAGS definition is now in the main makefile...
9
10 USE_STANDARD_AS_RULE := true
11
12 O_TARGET        := mm.o
13
14 # Object file lists.
15
16 obj-y           := init.o extable.o fault-common.o
17 obj-m           :=
18 obj-n           :=
19 obj-            :=
20 export-objs     := proc-syms.o discontig.o
21
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
25 endif
26
27 obj-$(CONFIG_CPU_26) += fault-armo.o mm-armo.o small_page.o
28
29 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
30 obj-$(CONFIG_DISCONTIGMEM) += discontig.o
31
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
45
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)
51 endif
52
53 obj-y           += $(sort $(p-y))
54
55 include $(TOPDIR)/Rules.make
56
57 # Special dependencies
58 $(p-y): $(TOPDIR)/include/asm-arm/constants.h