From: Greg Ungerer <gerg@xxxxxxxxxxx> Compile the mcfmmu.c code when the ColdFire V4e MMU is enabled. And don't compile the unnecessary hwtest.c code for it. Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxx> --- arch/m68k/mm/Makefile | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/m68k/mm/Makefile b/arch/m68k/mm/Makefile index 09cadf1..1732e31 100644 --- a/arch/m68k/mm/Makefile +++ b/arch/m68k/mm/Makefile @@ -4,6 +4,12 @@ obj-y := init.o -obj-$(CONFIG_MMU) += cache.o fault.o hwtest.o +obj-$(CONFIG_MMU) += cache.o fault.o obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o obj-$(CONFIG_MMU_SUN3) += sun3kmap.o sun3mmu.o + +ifdef CONFIG_COLDFIRE +obj-$(CONFIG_MMU) += kmap.o memory.o mcfmmu.o +else +obj-$(CONFIG_MMU) += hwtest.o +endif -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html