blob: 56c5af83151b5466ddd33be140301712cd9ecd70 [file] [log] [blame]
David Howellsb920de12008-02-08 04:19:31 -08001#
2# Makefile for the MN10300-specific memory management code
3#
4
David Howells518d4bb2010-10-27 17:28:43 +01005cacheflush-y := cache.o
David Howellsb4784912010-10-27 17:28:46 +01006cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o
7cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o
David Howells518d4bb2010-10-27 17:28:43 +01008cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
Akira Takeuchi9731d232010-10-27 17:28:45 +01009cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o
David Howells518d4bb2010-10-27 17:28:43 +010010cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o
Akira Takeuchi9731d232010-10-27 17:28:45 +010011cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o
David Howells62bdb282010-09-29 01:57:02 +010012
13cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o
14
David Howellsb920de12008-02-08 04:19:31 -080015obj-y := \
16 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
David Howells62bdb282010-09-29 01:57:02 +010017 misalignment.o dma-alloc.o $(cacheflush-y)