Commit c434b9f8 authored by Paul Cercueil's avatar Paul Cercueil Committed by Thomas Bogendoerfer

MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol

The MIPS_GENERIC symbol now won't select any other configuration option.
The MIPS_GENERIC_KERNEL will select all the options that the previous
MIPS_GENERIC option did select, and will select MIPS_GENERIC as well.

The whole point of this, is that it now becomes possible to compile a
kernel for a SoC supported by the arch/mips/generic/ code, without
making that kernel generic itself.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 5f5ed0eb
...@@ -93,14 +93,18 @@ config MIPS ...@@ -93,14 +93,18 @@ config MIPS
config MIPS_FIXUP_BIGPHYS_ADDR config MIPS_FIXUP_BIGPHYS_ADDR
bool bool
config MIPS_GENERIC
bool
menu "Machine selection" menu "Machine selection"
choice choice
prompt "System type" prompt "System type"
default MIPS_GENERIC default MIPS_GENERIC_KERNEL
config MIPS_GENERIC config MIPS_GENERIC_KERNEL
bool "Generic board-agnostic MIPS kernel" bool "Generic board-agnostic MIPS kernel"
select MIPS_GENERIC
select BOOT_RAW select BOOT_RAW
select BUILTIN_DTB select BUILTIN_DTB
select CEVT_R4K select CEVT_R4K
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
if MIPS_GENERIC if MIPS_GENERIC_KERNEL
config LEGACY_BOARDS config LEGACY_BOARDS
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment