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 <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
This commit is contained in:
Christoph Hellwig 2018-07-31 13:39:30 +02:00 • committed by Masahiro Yamada
commit 1572497cb0
28 changed files with 30 additions and 533 deletions

View file

@ -1721,10 +1721,10 @@ config PROFILING
config TRACEPOINTS
bool
source "arch/Kconfig"
endmenu # General setup
source "arch/Kconfig"
config RT_MUTEXES
bool