summaryrefslogtreecommitdiffstats
path: root/arch/m68k/Kconfig.machine
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-12-26 20:32:02 +0100
committerGreg Ungerer <gerg@uclinux.org>2011-12-30 01:20:49 +0100
commitad8f955daf77d303f0ee08d2acab30d3886cbd2b (patch)
tree325095c2c9411c3ca753be57e83ef31d4979d57b /arch/m68k/Kconfig.machine
parentm68k: add ColdFire with MMU enabled support to the m68k mem init code (diff)
downloadlinux-ad8f955daf77d303f0ee08d2acab30d3886cbd2b.tar.xz
linux-ad8f955daf77d303f0ee08d2acab30d3886cbd2b.zip
m68k/Kconfig: Separate classic m68k and coldfire early
While you can build multiplatform kernels for machines with classic m68k processors, you cannot mix support for classic m68k and coldfire processors. To avoid such hybrid kernels, introduce CONFIG_M68KCLASSIC as an antipole for CONFIG_COLDFIRE, and make all specific processor support depend on one of them. All classic m68k machine support also needs to depend on this. The defaults (CONFIG_M68KCLASSIC if MMU, CONFIG_COLDFIRE if !MMU) are chosen such to make most of the existing configs build and work. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/Kconfig.machine')
-rw-r--r--arch/m68k/Kconfig.machine4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine
index ef4a26aff780..7cdf6b010381 100644
--- a/arch/m68k/Kconfig.machine
+++ b/arch/m68k/Kconfig.machine
@@ -1,5 +1,7 @@
comment "Machine Types"
+if M68KCLASSIC
+
config AMIGA
bool "Amiga support"
depends on MMU
@@ -130,6 +132,8 @@ config SUN3
If you don't want to compile a kernel exclusively for a Sun 3, say N.
+endif # M68KCLASSIC
+
config PILOT
bool