Makefile 1.2 KB

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