1# 2# Makefile for the MN10300-specific memory management code 3# 4 5cache-smp-wback-$(CONFIG_MN10300_CACHE_WBACK) := cache-smp-flush.o 6 7cacheflush-y := cache.o 8cacheflush-$(CONFIG_SMP) += cache-smp.o cache-smp-inv.o $(cache-smp-wback-y) 9cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o 10cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o 11cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o 12cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o 13cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o 14cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o 15 16cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_FLUSH_BY_TAG) += \ 17 cache-dbg-flush-by-tag.o cache-dbg-inv-by-tag.o 18cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_FLUSH_BY_REG) += \ 19 cache-dbg-flush-by-reg.o 20cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_INV_BY_TAG) += \ 21 cache-dbg-inv-by-tag.o cache-dbg-inv.o 22cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_INV_BY_REG) += \ 23 cache-dbg-inv-by-reg.o cache-dbg-inv.o 24 25cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o 26 27obj-y := \ 28 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \ 29 misalignment.o dma-alloc.o $(cacheflush-y) 30 31obj-$(CONFIG_SMP) += tlb-smp.o 32