Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Paul Cercueil and committed by
Thomas Bogendoerfer
c434b9f8 5f5ed0eb

+7 -3
+6 -2
arch/mips/Kconfig
··· 93 93 config MIPS_FIXUP_BIGPHYS_ADDR 94 94 bool 95 95 96 + config MIPS_GENERIC 97 + bool 98 + 96 99 menu "Machine selection" 97 100 98 101 choice 99 102 prompt "System type" 100 - default MIPS_GENERIC 103 + default MIPS_GENERIC_KERNEL 101 104 102 - config MIPS_GENERIC 105 + config MIPS_GENERIC_KERNEL 103 106 bool "Generic board-agnostic MIPS kernel" 107 + select MIPS_GENERIC 104 108 select BOOT_RAW 105 109 select BUILTIN_DTB 106 110 select CEVT_R4K
+1 -1
arch/mips/generic/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - if MIPS_GENERIC 2 + if MIPS_GENERIC_KERNEL 3 3 4 4 config LEGACY_BOARDS 5 5 bool