2008-02-08 12:19:31 +00:00
|
|
|
#
|
|
|
|
# Makefile for the MN10300-specific memory management code
|
|
|
|
#
|
|
|
|
|
2010-10-27 16:28:47 +00:00
|
|
|
cache-smp-wback-$(CONFIG_MN10300_CACHE_WBACK) := cache-smp-flush.o
|
|
|
|
|
2010-10-27 16:28:43 +00:00
|
|
|
cacheflush-y := cache.o
|
2010-10-27 16:28:47 +00:00
|
|
|
cacheflush-$(CONFIG_SMP) += cache-smp.o cache-smp-inv.o $(cache-smp-wback-y)
|
2010-10-27 16:28:46 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o
|
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o
|
2010-10-27 16:28:43 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
|
2010-10-27 16:28:45 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o
|
2010-10-27 16:28:43 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o
|
2010-10-27 16:28:45 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o
|
2010-09-29 00:57:02 +00:00
|
|
|
|
2011-03-18 16:54:30 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_FLUSH_BY_TAG) += \
|
|
|
|
cache-dbg-flush-by-tag.o cache-dbg-inv-by-tag.o
|
|
|
|
cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_FLUSH_BY_REG) += \
|
|
|
|
cache-dbg-flush-by-reg.o
|
|
|
|
cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_INV_BY_TAG) += \
|
|
|
|
cache-dbg-inv-by-tag.o cache-dbg-inv.o
|
|
|
|
cacheflush-$(CONFIG_MN10300_DEBUGGER_CACHE_INV_BY_REG) += \
|
|
|
|
cache-dbg-inv-by-reg.o cache-dbg-inv.o
|
|
|
|
|
2010-09-29 00:57:02 +00:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o
|
|
|
|
|
2008-02-08 12:19:31 +00:00
|
|
|
obj-y := \
|
|
|
|
init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
|
2010-09-29 00:57:02 +00:00
|
|
|
misalignment.o dma-alloc.o $(cacheflush-y)
|
2010-10-27 16:28:51 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_SMP) += tlb-smp.o
|