m68k/Kconfig: Separate classic m68k and coldfire early
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 26 Dec 2011 19:32:02 +0000 (20:32 +0100)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:49 +0000 (10:20 +1000)
commitad8f955daf77d303f0ee08d2acab30d3886cbd2b
tree325095c2c9411c3ca753be57e83ef31d4979d57b
parentfbe3364ac4fa82caa585f98e4a525946d2cc21f4
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>
arch/m68k/Kconfig.cpu
arch/m68k/Kconfig.machine