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 10:20:49 +1000
commitad8f955daf77d303f0ee08d2acab30d3886cbd2b (patch)
tree325095c2c9411c3ca753be57e83ef31d4979d57b /arch/m68k/Kconfig.machine
parentfbe3364ac4fa82caa585f98e4a525946d2cc21f4 (diff)
downloadop-kernel-dev-ad8f955daf77d303f0ee08d2acab30d3886cbd2b.zip
op-kernel-dev-ad8f955daf77d303f0ee08d2acab30d3886cbd2b.tar.gz
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 ef4a26a..7cdf6b0 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
OpenPOWER on IntegriCloud