]> git.karo-electronics.de Git - linux-beck.git/commitdiff
m68k: compile appropriate mm arch files for ColdFire MMU support
authorGreg Ungerer <gerg@uclinux.org>
Tue, 18 Oct 2011 06:26:11 +0000 (16:26 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:39 +0000 (10:20 +1000)
Create a config symbol to enable when using a ColdFire MMU. We then
use that to only compile the necessary arch mm files.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
arch/m68k/Kconfig
arch/m68k/mm/Makefile

index 5f860cf67afc0e692ebfcef7551bbfb07a711461..330eb88108e7fd44702323bbbf0cdf7ff0093ed3 100644 (file)
@@ -88,9 +88,12 @@ config MMU
 config MMU_MOTOROLA
        bool
 
+config MMU_COLDFIRE
+       bool
+
 config MMU_SUN3
        bool
-       depends on MMU && !MMU_MOTOROLA
+       depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
 
 menu "Platform setup"
 
index 09cadf1058d5c6b948a8dd3b1016c6f6bc79068f..cfbf3205724a03c011c3f809716a16830f8c80b0 100644 (file)
@@ -4,6 +4,8 @@
 
 obj-y  := init.o
 
-obj-$(CONFIG_MMU)              += cache.o fault.o hwtest.o
-obj-$(CONFIG_MMU_MOTOROLA)     += kmap.o memory.o motorola.o
-obj-$(CONFIG_MMU_SUN3)         += sun3kmap.o sun3mmu.o
+obj-$(CONFIG_MMU)              += cache.o fault.o
+obj-$(CONFIG_MMU_MOTOROLA)     += kmap.o memory.o motorola.o hwtest.o
+obj-$(CONFIG_MMU_SUN3)         += sun3kmap.o sun3mmu.o hwtest.o
+obj-$(CONFIG_MMU_COLDFIRE)     += kmap.o memory.o mcfmmu.o
+