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 |
| 6 | cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o |
Akira Takeuchi | 9731d23 | 2010-10-27 17:28:45 +0100 | [diff] [blame^] | 7 | cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o |
David Howells | 518d4bb | 2010-10-27 17:28:43 +0100 | [diff] [blame] | 8 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o |
Akira Takeuchi | 9731d23 | 2010-10-27 17:28:45 +0100 | [diff] [blame^] | 9 | cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o |
David Howells | 62bdb28 | 2010-09-29 01:57:02 +0100 | [diff] [blame] | 10 | |
| 11 | cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o |
| 12 | |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 13 | obj-y := \ |
| 14 | 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] | 15 | misalignment.o dma-alloc.o $(cacheflush-y) |