From: Geert Uytterhoeven Clean up arch/m68k/mm/Makefile logic --- 25-akpm/arch/m68k/mm/Makefile | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff -puN arch/m68k/mm/Makefile~m68k-402 arch/m68k/mm/Makefile --- 25/arch/m68k/mm/Makefile~m68k-402 Fri Feb 20 15:09:51 2004 +++ 25-akpm/arch/m68k/mm/Makefile Fri Feb 20 15:09:51 2004 @@ -4,8 +4,5 @@ obj-y := init.o fault.o hwtest.o -ifndef CONFIG_SUN3 -obj-y += kmap.o memory.o motorola.o -else -obj-y += sun3kmap.o sun3mmu.o -endif +obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o +obj-$(CONFIG_MMU_SUN3) += sun3kmap.o sun3mmu.o _