1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux SuperH-specific parts !! 2 # Makefile for the linux m68k-specific parts of the memory manager. 4 # 3 # >> 4 # Note! Dependencies are done automagically by 'make dep', which also >> 5 # removes any old dependencies. DON'T put your own dependencies here >> 6 # unless it's something special (ie not a .c file). >> 7 # >> 8 # Note 2! The CFLAGS definition is now in the main makefile... 5 9 6 obj-y := alignment.o cache.o !! 10 O_TARGET := mm.o 7 << 8 cacheops-$(CONFIG_CPU_J2) := cac << 9 cacheops-$(CONFIG_CPU_SUBTYPE_SH7619) := cac << 10 cacheops-$(CONFIG_CPU_SH2A) := cac << 11 cacheops-$(CONFIG_CPU_SH3) := cac << 12 cacheops-$(CONFIG_CPU_SH4) := cac << 13 cacheops-$(CONFIG_SH7705_CACHE_32KB) += cac << 14 cacheops-$(CONFIG_CPU_SHX3) += cac << 15 << 16 obj-y += $(cacheops-y) << 17 << 18 mmu-y := nommu.o extable_32. << 19 mmu-$(CONFIG_MMU) := extable_32.o fault. << 20 pgtable.o tlbex_32. << 21 << 22 obj-y += $(mmu-y) << 23 11 24 debugfs-y := asids-debug !! 12 obj-y := init.o fault.o extable.o hwtest.o 25 ifndef CONFIG_CACHE_OFF << 26 debugfs-$(CONFIG_CPU_SH4) += cache-debug << 27 endif << 28 13 29 ifdef CONFIG_MMU !! 14 ifndef CONFIG_SUN3 30 debugfs-$(CONFIG_CPU_SH4) += tlb-debugfs !! 15 obj-y += kmap.o memory.o motorola.o 31 tlb-$(CONFIG_CPU_SH3) := tlb-sh3.o !! 16 else 32 tlb-$(CONFIG_CPU_SH4) := tlb-sh4.o t !! 17 obj-y += sun3kmap.o sun3mmu.o 33 tlb-$(CONFIG_CPU_HAS_PTEAEX) := tlb-pteaex. << 34 obj-y += $(tlb-y) << 35 endif 18 endif 36 19 37 obj-$(CONFIG_DEBUG_FS) += $(debugfs-y << 38 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage << 39 obj-$(CONFIG_PMB) += pmb.o << 40 obj-$(CONFIG_NUMA) += numa.o << 41 obj-$(CONFIG_IOREMAP_FIXED) += ioremap_fix << 42 obj-$(CONFIG_UNCACHED_MAPPING) += uncached.o << 43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o << 44 20 45 GCOV_PROFILE_pmb.o := n !! 21 include $(TOPDIR)/Rules.make
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.