David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the MN10300-specific memory management code |
| 3 | # |
| 4 | |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 5 | cacheflush-y := cache.o |
David Howells | b478491 | 2010-10-27 17:28:46 +0100 | [diff] [blame^] | 6 | cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o |
| 7 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 8 | cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o |
Akira Takeuchi | 9731d23 | 2010-10-27 17:28:45 +0100 | [diff] [blame] | 9 | cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 10 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o |
Akira Takeuchi | 9731d23 | 2010-10-27 17:28:45 +0100 | [diff] [blame] | 11 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o |
David Howells | 62bdb28 | 2010-09-29 01:57:02 +0100 | [diff] [blame] | 12 | |
| 13 | cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o |
| 14 | |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 15 | obj-y := \ |
| 16 | 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] | 17 | misalignment.o dma-alloc.o $(cacheflush-y) |