diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-31 07:39:30 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-01 19:03:23 -0400 |
commit | 1572497cb0e6d2016078bc9d5a95786bb878389f (patch) | |
tree | 6b9ad32cab4e45531cbb1b6954a74d0e42ea5ffb /arch/openrisc/Kconfig | |
parent | 17c46a6aff5c423f406adfb06eb832f771c06bd1 (diff) |
kconfig: include common Kconfig files from top-level Kconfig
Instead of duplicating the source statements in every architecture just
do it once in the toplevel Kconfig file.
Note that with this the inclusion of arch/$(SRCARCH/Kconfig moves out of
the top-level Kconfig into arch/Kconfig so that don't violate ordering
constraits while keeping a sensible menu structure.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r-- | arch/openrisc/Kconfig | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 9ecad05bfc73..eb9f503c8972 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig | |||
@@ -72,10 +72,6 @@ config LOCKDEP_SUPPORT | |||
72 | config MULTI_IRQ_HANDLER | 72 | config MULTI_IRQ_HANDLER |
73 | def_bool y | 73 | def_bool y |
74 | 74 | ||
75 | source "init/Kconfig" | ||
76 | |||
77 | source "kernel/Kconfig.freezer" | ||
78 | |||
79 | menu "Processor type and features" | 75 | menu "Processor type and features" |
80 | 76 | ||
81 | choice | 77 | choice |
@@ -148,7 +144,6 @@ config SMP | |||
148 | 144 | ||
149 | source kernel/Kconfig.hz | 145 | source kernel/Kconfig.hz |
150 | source kernel/Kconfig.preempt | 146 | source kernel/Kconfig.preempt |
151 | source "mm/Kconfig" | ||
152 | 147 | ||
153 | config OPENRISC_NO_SPR_SR_DSX | 148 | config OPENRISC_NO_SPR_SR_DSX |
154 | bool "use SPR_SR_DSX software emulation" if OR1K_1200 | 149 | bool "use SPR_SR_DSX software emulation" if OR1K_1200 |
@@ -207,24 +202,6 @@ endmenu | |||
207 | 202 | ||
208 | endmenu | 203 | endmenu |
209 | 204 | ||
210 | menu "Executable file formats" | ||
211 | |||
212 | source "fs/Kconfig.binfmt" | ||
213 | |||
214 | endmenu | ||
215 | |||
216 | source "net/Kconfig" | ||
217 | |||
218 | source "drivers/Kconfig" | ||
219 | |||
220 | source "fs/Kconfig" | ||
221 | |||
222 | source "security/Kconfig" | ||
223 | |||
224 | source "crypto/Kconfig" | ||
225 | |||
226 | source "lib/Kconfig" | ||
227 | |||
228 | menu "Kernel hacking" | 205 | menu "Kernel hacking" |
229 | 206 | ||
230 | source "lib/Kconfig.debug" | 207 | source "lib/Kconfig.debug" |