blob: e8d34a80851c66baf47c3d97e89e029e5e9a96ca [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux arm-specific parts of the memory manager.
3#
4
Russell King0ddbccd2008-09-25 15:59:19 +01005obj-y := dma-mapping.o extable.o fault.o init.o \
Russell King092c1952006-06-24 17:34:50 +01006 iomap.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Russell King092c1952006-06-24 17:34:50 +01008obj-$(CONFIG_MMU) += fault-armv.o flush.o ioremap.o mmap.o \
Russell King13ccf3a2009-11-19 15:07:04 +00009 pgd.o mmu.o vmregion.o
Russell King59244862006-06-22 15:05:36 +010010
11ifneq ($(CONFIG_MMU),y)
12obj-y += nommu.o
13endif
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_MODULES) += proc-syms.o
16
17obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
18obj-$(CONFIG_DISCONTIGMEM) += discontig.o
Nicolas Pitred73cd422008-09-15 16:44:55 -040019obj-$(CONFIG_HIGHMEM) += highmem.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +090021obj-$(CONFIG_CPU_ABRT_NOMMU) += abort-nommu.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070022obj-$(CONFIG_CPU_ABRT_EV4) += abort-ev4.o
23obj-$(CONFIG_CPU_ABRT_EV4T) += abort-ev4t.o
24obj-$(CONFIG_CPU_ABRT_LV4T) += abort-lv4t.o
25obj-$(CONFIG_CPU_ABRT_EV5T) += abort-ev5t.o
26obj-$(CONFIG_CPU_ABRT_EV5TJ) += abort-ev5tj.o
27obj-$(CONFIG_CPU_ABRT_EV6) += abort-ev6.o
Catalin Marinas23688e92007-05-08 22:45:26 +010028obj-$(CONFIG_CPU_ABRT_EV7) += abort-ev7.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
Russell Kingaff7b4f2010-01-12 19:02:05 +000030AFLAGS_abort-ev6.o :=-Wa,-march=armv6k
31AFLAGS_abort-ev7.o :=-Wa,-march=armv7-a
32
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010033obj-$(CONFIG_CPU_PABRT_LEGACY) += pabort-legacy.o
34obj-$(CONFIG_CPU_PABRT_V6) += pabort-v6.o
35obj-$(CONFIG_CPU_PABRT_V7) += pabort-v7.o
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037obj-$(CONFIG_CPU_CACHE_V3) += cache-v3.o
38obj-$(CONFIG_CPU_CACHE_V4) += cache-v4.o
39obj-$(CONFIG_CPU_CACHE_V4WT) += cache-v4wt.o
40obj-$(CONFIG_CPU_CACHE_V4WB) += cache-v4wb.o
41obj-$(CONFIG_CPU_CACHE_V6) += cache-v6.o
Catalin Marinas23688e92007-05-08 22:45:26 +010042obj-$(CONFIG_CPU_CACHE_V7) += cache-v7.o
Paulius Zaleckas28853ac2009-03-25 13:10:01 +020043obj-$(CONFIG_CPU_CACHE_FA) += cache-fa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070044
Russell Kingaff7b4f2010-01-12 19:02:05 +000045AFLAGS_cache-v6.o :=-Wa,-march=armv6
46AFLAGS_cache-v7.o :=-Wa,-march=armv7-a
47
Linus Torvalds1da177e2005-04-16 15:20:36 -070048obj-$(CONFIG_CPU_COPY_V3) += copypage-v3.o
49obj-$(CONFIG_CPU_COPY_V4WT) += copypage-v4wt.o
50obj-$(CONFIG_CPU_COPY_V4WB) += copypage-v4wb.o
Lennert Buytenhek0ed15072008-04-24 01:31:45 -040051obj-$(CONFIG_CPU_COPY_FEROCEON) += copypage-feroceon.o
Russell Kingd84b4712006-08-21 19:23:38 +010052obj-$(CONFIG_CPU_COPY_V6) += copypage-v6.o context.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070053obj-$(CONFIG_CPU_SA1100) += copypage-v4mc.o
54obj-$(CONFIG_CPU_XSCALE) += copypage-xscale.o
Lennert Buytenhek23bdf862006-03-28 21:00:40 +010055obj-$(CONFIG_CPU_XSC3) += copypage-xsc3.o
Paulius Zaleckas28853ac2009-03-25 13:10:01 +020056obj-$(CONFIG_CPU_COPY_FA) += copypage-fa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070057
Linus Torvalds1da177e2005-04-16 15:20:36 -070058obj-$(CONFIG_CPU_TLB_V3) += tlb-v3.o
59obj-$(CONFIG_CPU_TLB_V4WT) += tlb-v4.o
60obj-$(CONFIG_CPU_TLB_V4WB) += tlb-v4wb.o
61obj-$(CONFIG_CPU_TLB_V4WBI) += tlb-v4wbi.o
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +020062obj-$(CONFIG_CPU_TLB_FEROCEON) += tlb-v4wbi.o # reuse v4wbi TLB functions
Linus Torvalds1da177e2005-04-16 15:20:36 -070063obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o
Catalin Marinas2ccdd1e2007-05-18 11:25:31 +010064obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o
Paulius Zaleckas28853ac2009-03-25 13:10:01 +020065obj-$(CONFIG_CPU_TLB_FA) += tlb-fa.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070066
Russell Kingaff7b4f2010-01-12 19:02:05 +000067AFLAGS_tlb-v6.o :=-Wa,-march=armv6
68AFLAGS_tlb-v7.o :=-Wa,-march=armv7-a
69
Linus Torvalds1da177e2005-04-16 15:20:36 -070070obj-$(CONFIG_CPU_ARM610) += proc-arm6_7.o
71obj-$(CONFIG_CPU_ARM710) += proc-arm6_7.o
Hyok S. Choi07e0da72006-09-26 17:37:36 +090072obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070073obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o
Hyok S. Choib731c312006-09-26 17:37:50 +090074obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o
Hyok S. Choi43f5f012006-09-26 17:38:05 +090075obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070076obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o
77obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o
78obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o
79obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o
Hyok S. Choid60674e2006-09-26 17:38:18 +090080obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o
Hyok S. Choif37f46e2006-09-26 17:38:32 +090081obj-$(CONFIG_CPU_ARM946E) += proc-arm946.o
Paulius Zaleckas28853ac2009-03-25 13:10:01 +020082obj-$(CONFIG_CPU_FA526) += proc-fa526.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070083obj-$(CONFIG_CPU_ARM1020) += proc-arm1020.o
84obj-$(CONFIG_CPU_ARM1020E) += proc-arm1020e.o
85obj-$(CONFIG_CPU_ARM1022) += proc-arm1022.o
86obj-$(CONFIG_CPU_ARM1026) += proc-arm1026.o
87obj-$(CONFIG_CPU_SA110) += proc-sa110.o
88obj-$(CONFIG_CPU_SA1100) += proc-sa1100.o
89obj-$(CONFIG_CPU_XSCALE) += proc-xscale.o
Lennert Buytenhek23bdf862006-03-28 21:00:40 +010090obj-$(CONFIG_CPU_XSC3) += proc-xsc3.o
Eric Miao49cbe782009-01-20 14:15:18 +080091obj-$(CONFIG_CPU_MOHAWK) += proc-mohawk.o
Assaf Hoffmane50d6402007-10-23 15:14:41 -040092obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o
Daniel Jacobowitza6c61e92005-11-19 10:01:07 +000093obj-$(CONFIG_CPU_V6) += proc-v6.o
Catalin Marinas23688e92007-05-08 22:45:26 +010094obj-$(CONFIG_CPU_V7) += proc-v7.o
Catalin Marinas382266a2007-02-05 14:48:19 +010095
Russell Kingaff7b4f2010-01-12 19:02:05 +000096AFLAGS_proc-v6.o :=-Wa,-march=armv6
97AFLAGS_proc-v7.o :=-Wa,-march=armv7-a
98
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +020099obj-$(CONFIG_CACHE_FEROCEON_L2) += cache-feroceon-l2.o
Catalin Marinas382266a2007-02-05 14:48:19 +0100100obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
Eric Miao20072fd2008-06-06 16:34:03 +0800101obj-$(CONFIG_CACHE_XSC3L2) += cache-xsc3l2.o
Lennert Buytenhek573a6522009-11-24 19:33:52 +0200102obj-$(CONFIG_CACHE_TAUROS2) += cache-tauros2.o