diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-12-26 20:32:02 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-12-30 01:20:49 +0100 |
commit | ad8f955daf77d303f0ee08d2acab30d3886cbd2b (patch) | |
tree | 325095c2c9411c3ca753be57e83ef31d4979d57b /arch/m68k/Kconfig.machine | |
parent | m68k: add ColdFire with MMU enabled support to the m68k mem init code (diff) | |
download | linux-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.machine | 4 |
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 |