]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1684128948ee03877574557bcaa16dbc01ce0106
tree325095c2c9411c3ca753be57e83ef31d4979d57b
parentf464fe38f71042ab550c50bcf44446112e29967a
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