David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the MN10300-specific memory management code |
| 3 | # |
| 4 | |
Akira Takeuchi | 8be0628 | 2010-10-27 17:28:47 +0100 | [diff] [blame] | 5 | cache-smp-wback-$(CONFIG_MN10300_CACHE_WBACK) := cache-smp-flush.o |
| 6 | |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 7 | cacheflush-y := cache.o |
Akira Takeuchi | 8be0628 | 2010-10-27 17:28:47 +0100 | [diff] [blame] | 8 | cacheflush-$(CONFIG_SMP) += cache-smp.o cache-smp-inv.o $(cache-smp-wback-y) |
David Howells | b478491 | 2010-10-27 17:28:46 +0100 | [diff] [blame] | 9 | cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o |
| 10 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 11 | cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o |
Akira Takeuchi | 9731d23 | 2010-10-27 17:28:45 +0100 | [diff] [blame] | 12 | cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 13 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o |
Akira Takeuchi | 9731d23 | 2010-10-27 17:28:45 +0100 | [diff] [blame] | 14 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o |
David Howells | 62bdb28 | 2010-09-29 01:57:02 +0100 | [diff] [blame] | 15 | |
| 16 | cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o |
| 17 | |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 18 | obj-y := \ |
| 19 | init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \ |
David Howells | 62bdb28 | 2010-09-29 01:57:02 +0100 | [diff] [blame] | 20 | misalignment.o dma-alloc.o $(cacheflush-y) |
Akira Takeuchi | 965ea4b | 2010-10-27 17:28:51 +0100 | [diff] [blame] | 21 | |
| 22 | obj-$(CONFIG_SMP) += tlb-smp.o |