Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux arm-specific parts of the memory manager. |
| 3 | # |
| 4 | |
Russell King | 0ddbccd | 2008-09-25 15:59:19 +0100 | [diff] [blame] | 5 | obj-y := dma-mapping.o extable.o fault.o init.o \ |
Russell King | 092c195 | 2006-06-24 17:34:50 +0100 | [diff] [blame] | 6 | iomap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Russell King | 614dd05 | 2010-11-21 11:41:57 +0000 | [diff] [blame] | 8 | obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \ |
Jungseung Lee | 4e802cf | 2014-11-29 03:02:11 +0100 | [diff] [blame] | 9 | mmap.o pgd.o mmu.o pageattr.o |
Russell King | 5924486 | 2006-06-22 15:05:36 +0100 | [diff] [blame] | 10 | |
| 11 | ifneq ($(CONFIG_MMU),y) |
| 12 | obj-y += nommu.o |
| 13 | endif |
| 14 | |
Russell King | 1fd15b8 | 2013-10-23 16:13:02 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_ARM_PTDUMP) += dump.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_MODULES) += proc-syms.o |
| 17 | |
| 18 | obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o |
Nicolas Pitre | d73cd42 | 2008-09-15 16:44:55 -0400 | [diff] [blame] | 19 | obj-$(CONFIG_HIGHMEM) += highmem.o |
Catalin Marinas | 1355e2a | 2012-07-25 14:32:38 +0100 | [diff] [blame] | 20 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
Russell King | d8dc7fb | 2015-04-04 16:58:38 +0100 | [diff] [blame] | 21 | obj-$(CONFIG_ARM_PV_FIXUP) += pv-fixup-asm.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | |
Hyok S. Choi | 0f45d7f | 2006-09-28 21:46:16 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_CPU_ABRT_NOMMU) += abort-nommu.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | obj-$(CONFIG_CPU_ABRT_EV4) += abort-ev4.o |
| 25 | obj-$(CONFIG_CPU_ABRT_EV4T) += abort-ev4t.o |
| 26 | obj-$(CONFIG_CPU_ABRT_LV4T) += abort-lv4t.o |
| 27 | obj-$(CONFIG_CPU_ABRT_EV5T) += abort-ev5t.o |
| 28 | obj-$(CONFIG_CPU_ABRT_EV5TJ) += abort-ev5tj.o |
| 29 | obj-$(CONFIG_CPU_ABRT_EV6) += abort-ev6.o |
Catalin Marinas | 23688e9 | 2007-05-08 22:45:26 +0100 | [diff] [blame] | 30 | obj-$(CONFIG_CPU_ABRT_EV7) += abort-ev7.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
Russell King | aff7b4f | 2010-01-12 19:02:05 +0000 | [diff] [blame] | 32 | AFLAGS_abort-ev6.o :=-Wa,-march=armv6k |
| 33 | AFLAGS_abort-ev7.o :=-Wa,-march=armv7-a |
| 34 | |
Kirill A. Shutemov | 4fb2847 | 2009-09-25 13:39:47 +0100 | [diff] [blame] | 35 | obj-$(CONFIG_CPU_PABRT_LEGACY) += pabort-legacy.o |
| 36 | obj-$(CONFIG_CPU_PABRT_V6) += pabort-v6.o |
| 37 | obj-$(CONFIG_CPU_PABRT_V7) += pabort-v7.o |
| 38 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_CPU_CACHE_V4) += cache-v4.o |
| 40 | obj-$(CONFIG_CPU_CACHE_V4WT) += cache-v4wt.o |
| 41 | obj-$(CONFIG_CPU_CACHE_V4WB) += cache-v4wb.o |
| 42 | obj-$(CONFIG_CPU_CACHE_V6) += cache-v6.o |
Catalin Marinas | 23688e9 | 2007-05-08 22:45:26 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_CPU_CACHE_V7) += cache-v7.o |
Paulius Zaleckas | 28853ac | 2009-03-25 13:10:01 +0200 | [diff] [blame] | 44 | obj-$(CONFIG_CPU_CACHE_FA) += cache-fa.o |
Uwe Kleine-König | 4477ca4 | 2013-03-21 21:02:37 +0100 | [diff] [blame] | 45 | obj-$(CONFIG_CPU_CACHE_NOP) += cache-nop.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | |
Russell King | aff7b4f | 2010-01-12 19:02:05 +0000 | [diff] [blame] | 47 | AFLAGS_cache-v6.o :=-Wa,-march=armv6 |
| 48 | AFLAGS_cache-v7.o :=-Wa,-march=armv7-a |
| 49 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_CPU_COPY_V4WT) += copypage-v4wt.o |
| 51 | obj-$(CONFIG_CPU_COPY_V4WB) += copypage-v4wb.o |
Lennert Buytenhek | 0ed1507 | 2008-04-24 01:31:45 -0400 | [diff] [blame] | 52 | obj-$(CONFIG_CPU_COPY_FEROCEON) += copypage-feroceon.o |
Russell King | d84b471 | 2006-08-21 19:23:38 +0100 | [diff] [blame] | 53 | obj-$(CONFIG_CPU_COPY_V6) += copypage-v6.o context.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | obj-$(CONFIG_CPU_SA1100) += copypage-v4mc.o |
| 55 | obj-$(CONFIG_CPU_XSCALE) += copypage-xscale.o |
Lennert Buytenhek | 23bdf86 | 2006-03-28 21:00:40 +0100 | [diff] [blame] | 56 | obj-$(CONFIG_CPU_XSC3) += copypage-xsc3.o |
Paulius Zaleckas | 28853ac | 2009-03-25 13:10:01 +0200 | [diff] [blame] | 57 | obj-$(CONFIG_CPU_COPY_FA) += copypage-fa.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | |
Arnd Bergmann | 90543ec | 2015-05-26 16:10:02 +0100 | [diff] [blame] | 59 | CFLAGS_copypage-feroceon.o := -march=armv5te |
| 60 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | obj-$(CONFIG_CPU_TLB_V4WT) += tlb-v4.o |
| 62 | obj-$(CONFIG_CPU_TLB_V4WB) += tlb-v4wb.o |
| 63 | obj-$(CONFIG_CPU_TLB_V4WBI) += tlb-v4wbi.o |
Lennert Buytenhek | 99c6dc1 | 2008-06-22 22:45:04 +0200 | [diff] [blame] | 64 | obj-$(CONFIG_CPU_TLB_FEROCEON) += tlb-v4wbi.o # reuse v4wbi TLB functions |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o |
Catalin Marinas | 2ccdd1e | 2007-05-18 11:25:31 +0100 | [diff] [blame] | 66 | obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o |
Paulius Zaleckas | 28853ac | 2009-03-25 13:10:01 +0200 | [diff] [blame] | 67 | obj-$(CONFIG_CPU_TLB_FA) += tlb-fa.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | |
Russell King | aff7b4f | 2010-01-12 19:02:05 +0000 | [diff] [blame] | 69 | AFLAGS_tlb-v6.o :=-Wa,-march=armv6 |
| 70 | AFLAGS_tlb-v7.o :=-Wa,-march=armv7-a |
| 71 | |
Hyok S. Choi | 07e0da7 | 2006-09-26 17:37:36 +0900 | [diff] [blame] | 72 | obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 73 | obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o |
Hyok S. Choi | b731c31 | 2006-09-26 17:37:50 +0900 | [diff] [blame] | 74 | obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o |
Hyok S. Choi | 43f5f01 | 2006-09-26 17:38:05 +0900 | [diff] [blame] | 75 | obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o |
| 77 | obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o |
| 78 | obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o |
| 79 | obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o |
Hyok S. Choi | d60674e | 2006-09-26 17:38:18 +0900 | [diff] [blame] | 80 | obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o |
Hyok S. Choi | f37f46e | 2006-09-26 17:38:32 +0900 | [diff] [blame] | 81 | obj-$(CONFIG_CPU_ARM946E) += proc-arm946.o |
Paulius Zaleckas | 28853ac | 2009-03-25 13:10:01 +0200 | [diff] [blame] | 82 | obj-$(CONFIG_CPU_FA526) += proc-fa526.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 83 | obj-$(CONFIG_CPU_ARM1020) += proc-arm1020.o |
| 84 | obj-$(CONFIG_CPU_ARM1020E) += proc-arm1020e.o |
| 85 | obj-$(CONFIG_CPU_ARM1022) += proc-arm1022.o |
| 86 | obj-$(CONFIG_CPU_ARM1026) += proc-arm1026.o |
| 87 | obj-$(CONFIG_CPU_SA110) += proc-sa110.o |
| 88 | obj-$(CONFIG_CPU_SA1100) += proc-sa1100.o |
| 89 | obj-$(CONFIG_CPU_XSCALE) += proc-xscale.o |
Lennert Buytenhek | 23bdf86 | 2006-03-28 21:00:40 +0100 | [diff] [blame] | 90 | obj-$(CONFIG_CPU_XSC3) += proc-xsc3.o |
Eric Miao | 49cbe78 | 2009-01-20 14:15:18 +0800 | [diff] [blame] | 91 | obj-$(CONFIG_CPU_MOHAWK) += proc-mohawk.o |
Assaf Hoffman | e50d640 | 2007-10-23 15:14:41 -0400 | [diff] [blame] | 92 | obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o |
Daniel Jacobowitz | a6c61e9 | 2005-11-19 10:01:07 +0000 | [diff] [blame] | 93 | obj-$(CONFIG_CPU_V6) += proc-v6.o |
Russell King | e399b1a | 2011-01-17 15:08:32 +0000 | [diff] [blame] | 94 | obj-$(CONFIG_CPU_V6K) += proc-v6.o |
Catalin Marinas | 23688e9 | 2007-05-08 22:45:26 +0100 | [diff] [blame] | 95 | obj-$(CONFIG_CPU_V7) += proc-v7.o |
Uwe Kleine-König | 4477ca4 | 2013-03-21 21:02:37 +0100 | [diff] [blame] | 96 | obj-$(CONFIG_CPU_V7M) += proc-v7m.o |
Catalin Marinas | 382266a | 2007-02-05 14:48:19 +0100 | [diff] [blame] | 97 | |
Russell King | aff7b4f | 2010-01-12 19:02:05 +0000 | [diff] [blame] | 98 | AFLAGS_proc-v6.o :=-Wa,-march=armv6 |
| 99 | AFLAGS_proc-v7.o :=-Wa,-march=armv7-a |
| 100 | |
Russell King | 1f1d5b7 | 2014-03-16 13:14:38 +0000 | [diff] [blame] | 101 | obj-$(CONFIG_OUTER_CACHE) += l2c-common.o |
Lennert Buytenhek | 99c6dc1 | 2008-06-22 22:45:04 +0200 | [diff] [blame] | 102 | obj-$(CONFIG_CACHE_FEROCEON_L2) += cache-feroceon-l2.o |
Russell King | de7e753 | 2014-04-05 11:39:57 +0100 | [diff] [blame] | 103 | obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o l2c-l2x0-resume.o |
Eric Miao | 20072fd | 2008-06-06 16:34:03 +0800 | [diff] [blame] | 104 | obj-$(CONFIG_CACHE_XSC3L2) += cache-xsc3l2.o |
Lennert Buytenhek | 573a652 | 2009-11-24 19:33:52 +0200 | [diff] [blame] | 105 | obj-$(CONFIG_CACHE_TAUROS2) += cache-tauros2.o |
Masahiro Yamada | e7ecbc0 | 2015-10-02 13:42:19 +0900 | [diff] [blame] | 106 | obj-$(CONFIG_CACHE_UNIPHIER) += cache-uniphier.o |