blob: 7b997236ed20bab9ff5168c57299f155c08842e8 [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
6cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
Akira Takeuchi9731d232010-10-27 17:28:45 +01007cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o
David Howells518d4bb2010-10-27 17:28:43 +01008cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o
Akira Takeuchi9731d232010-10-27 17:28:45 +01009cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o
David Howells62bdb282010-09-29 01:57:02 +010010
11cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o
12
David Howellsb920de12008-02-08 04:19:31 -080013obj-y := \
14 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
David Howells62bdb282010-09-29 01:57:02 +010015 misalignment.o dma-alloc.o $(cacheflush-y)