2 # Makefile for the MN10300-specific memory management code
5 cache-smp-wback-
$(CONFIG_MN10300_CACHE_WBACK
) := cache-smp-flush.o
7 cacheflush-y
:= cache.o
8 cacheflush-
$(CONFIG_SMP
) += cache-smp.o cache-smp-inv.o
$(cache-smp-wback-y
)
9 cacheflush-
$(CONFIG_MN10300_CACHE_INV_ICACHE
) += cache-inv-icache.o
10 cacheflush-
$(CONFIG_MN10300_CACHE_FLUSH_ICACHE
) += cache-flush-icache.o
11 cacheflush-
$(CONFIG_MN10300_CACHE_INV_BY_TAG
) += cache-inv-by-tag.o
12 cacheflush-
$(CONFIG_MN10300_CACHE_INV_BY_REG
) += cache-inv-by-reg.o
13 cacheflush-
$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG
) += cache-flush-by-tag.o
14 cacheflush-
$(CONFIG_MN10300_CACHE_FLUSH_BY_REG
) += cache-flush-by-reg.o
16 cacheflush-
$(CONFIG_MN10300_CACHE_DISABLED
) := cache-disabled.o
19 init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
20 misalignment.o dma-alloc.o
$(cacheflush-y
)
22 obj-
$(CONFIG_SMP
) += tlb-smp.o