diff options
author | Daniel Schwierzeck | 2015-01-18 21:59:35 +0100 |
---|---|---|
committer | Daniel Schwierzeck | 2015-01-21 14:06:04 +0100 |
commit | c57dafb5b413335d397691a3d50ff33c229c272d (patch) | |
tree | 5cc6199ca2c05de82e05955d5427361b9a55c53c /arch/mips/Kconfig | |
parent | a18a477147ce2493ef9ee93b8981b34929fc48a5 (diff) |
MIPS: replace $(CPU) with Kconfig symbols
Conditionally set head-y and lib-y with boolean Kconfig symbols
for selected CPU. This deprecates the usage of the $(CPU) variable.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 363f5ac8186..d87cbb4637d 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -167,6 +167,14 @@ config SUPPORTS_CPU_MIPS64_R1 config SUPPORTS_CPU_MIPS64_R2 bool +config CPU_MIPS32 + bool + default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 + +config CPU_MIPS64 + bool + default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 + config 32BIT bool |