2008-02-08 20:19:31 +08:00
|
|
|
#
|
|
|
|
# Makefile for the MN10300-specific memory management code
|
|
|
|
#
|
|
|
|
|
2010-10-28 00:28:43 +08:00
|
|
|
cacheflush-y := cache.o
|
2010-10-28 00:28:46 +08:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o
|
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o
|
2010-10-28 00:28:43 +08:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
|
2010-10-28 00:28:45 +08:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o
|
2010-10-28 00:28:43 +08:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o
|
2010-10-28 00:28:45 +08:00
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_REG) += cache-flush-by-reg.o
|
2010-09-29 08:57:02 +08:00
|
|
|
|
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o
|
|
|
|
|
2008-02-08 20:19:31 +08:00
|
|
|
obj-y := \
|
|
|
|
init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
|
2010-09-29 08:57:02 +08:00
|
|
|
misalignment.o dma-alloc.o $(cacheflush-y)
|